User avatar
DavidL
Founder
Founder
Posts: 11909
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact: Send private message

MLStock Scene

Fri Dec 08, 2006 3:49 pm

Here is a Stock scene I have been working on.
Image

Attached are some files. Backup your MLServer and Cinemar directory before applying.

There are a few new scenes. Stock1, Stock2, Stock3. This is to display 20 or so different stocks.

There are some ChangeScene.Stock command maps for scene navigation

There is a Stock.ShareUpdate In this file, you update how many shares of each stock. The stocks have to be configured for data download in the MLStock plugin.

There is a Stock.PriceUpdate in this command, it does the share price times number of shares for a per stock total.

There is a Stock.PortfolioUpdate in this command, it adds up all of the per share totals for a portfolio total. This is manually invoked by the webpage. It could be run by MLScheduler every hour as well.

I also put a Stock.ShareUpdate in the MLStartup plugin to run right after MLServer starts to populate the number of shares.

Some of these commands were "lifted" from some of the users here. I moved some of those posts into this new forum section for a central place to talk about stock portfolios.

At some point, I will write some docs on setting up MLStock for newbies.
Attachments
Stock.zip
(24.54 KiB) Downloaded 226 times

interruptvector
New Member
New Member
Posts: 48
Joined: Sat Oct 07, 2006 6:28 am
Contact: Send private message

cool..

Wed Jun 13, 2007 8:43 pm

looks good -- i like it.. I put something really simple together but I like this a lot better.. thanks!

User avatar
DavidL
Founder
Founder
Posts: 11909
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact: Send private message

Wed Jun 13, 2007 9:09 pm

Glad it works for you!

Ranger Home Automation
Expert
Expert
Posts: 652
Joined: Tue Jun 26, 2007 11:31 pm
Location: Temple, central Texas
Contact: Send private message

Sat Jul 07, 2007 11:17 am

smooth, are there docs somewhere for newbies on this?

you knew i would ask, LOL

Tuck

Ranger Home Automation
Expert
Expert
Posts: 652
Joined: Tue Jun 26, 2007 11:31 pm
Location: Temple, central Texas
Contact: Send private message

penny stock trading

Sun Jul 08, 2007 5:29 pm

I dont believe this will show stocks below a dollar? i trade a few penny stocks from time to time and it appears it wont show the price. but i am new to this plugin.

workin on it!

User avatar
ronsatter
Is there life beyond myServer?
Is there life beyond myServer?
Posts: 1304
Joined: Mon Dec 04, 2006 1:40 am
Location: San Leandro, CA
Contact: Send private message

Nice Work

Thu Jul 19, 2007 12:31 am

I love it! Simple but powerful. I just looked at the scenes buttons/fields to see how to substitute my stock codes. I already had the MLStocks plugin working, so that made it easier to understand everything. It took me about an hour to have it integrated into my scenes, complete with the update in the MLStartup plugin.

Thanks Smoothie :D

Ranger Home Automation
Expert
Expert
Posts: 652
Joined: Tue Jun 26, 2007 11:31 pm
Location: Temple, central Texas
Contact: Send private message

Re: penny stock trading

Thu Jul 19, 2007 12:11 pm

Ranger Home Automation wrote:I dont believe this will show stocks below a dollar? i trade a few penny stocks from time to time and it appears it wont show the price. but i am new to this plugin.

workin on it!

correction: yes penny stocks show up just fine. nice.

Return to “MLStockInfo”

Who is online

Users browsing this forum: No registered users and 1 guest