Version: 0.9.9, by zethon
Developer Last Online: Oct 2020
Category: Add-On Releases -
Version: 3.6.4
Rating:
Released: 12-29-2006
Last Update: 02-22-2007
Installs: 132
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage
No support by the author.
Stock Trader
Summary
This add-on gives your users the ability to use the money system on your board to "invest" in stock. Users can purchase and sell stock at market values. This plugin uses a stock feed from Yahoo to get real time stock quotes.
Release Notes
This product is considered to still be in Beta.This should be ending by the end of January.
This add-on is known to be compatible with vBulletin's built-in reputation system, vbBux and iCash.
Product Specifications
two plugins
one cron job
file uploads
one new DB table
one template
several phrases
Installation
Approx 2-5 mins
As always: Back up your Database!
upload the files in the "upload" directory, preserving the directory structure
Go into AdminCP and import the product-stocktrader.xml file.
(OPTIONAL) add a link in the navbar template or wherever your users can find it!
Upgrading/Updating
upload all files in the upload directory, overwriting any existing files
re-import the XML file, setting "Overwrite" to "Yes"
Configuration
vBulletin Options -> Stock Trader Options
Change History
0.9.9 (07-25-01) - fixed problem with trading mutual funds, fixed cheat with buying off hours (I think)
0.9.8 (07-18-01) - added new options and fixed bug with purchasing really cheap stock
0.9.7 (07-15-01) - fixed bug in top portfolios when using a table prefix
0.9.6 (07-15-01) - fixed table prefix issues, fixed portfolio.gif problem
0.9.5 (07-14-01) - added statistics page, ability to view other user portfolios, and postbit friendly variables
0.9.4 (07-09-01) - added a Capital Gains Tax option
0.9.3 (07-02-01) - fixed error with purchasing negative stock, fixed compatibility with iCash
i heard report from my users today that when they buy before market opens, vbtrader shows the market is already open. This is by design right ?
it's based on however Yahoo is getting it's information. I am using a the "real time" price from Yahoo, and not the price that is 15 minutes behind.
At least this is what I suspect. I don't know enough about stocks, live quotes, etc, to know for sure. The data field of Yahoo's I'm using seems to change by the second, so I'm guessing it actually is the "real time" quote.
Actually, now that I think about it... this won't fix the cheat. Crap! I will have to think on this again.
QUESTION: From where can I get after hour stock quotes?
it's based on however Yahoo is getting it's information. I am using a the "real time" price from Yahoo, and not the price that is 15 minutes behind.
At least this is what I suspect. I don't know enough about stocks, live quotes, etc, to know for sure. The data field of Yahoo's I'm using seems to change by the second, so I'm guessing it actually is the "real time" quote.
Actually, now that I think about it... this won't fix the cheat. Crap! I will have to think on this again.
QUESTION: From where can I get after hour stock quotes?
If its real time, why wouldn't it fix the cheat? Or do you suspect now that it really isnt on real time?
I sincerely doubt that this is real time, as you need to pay for those. I remain convinced that the only way to get around it would be to put the trade on hold and to execute it 15 minutes later, making sure that user still has enough money to do transaction (price variance)
I think you're confusing "getting real time quotes" with "displaying real time quotes". However, you may be right -- I wonder if there's anyway to tell? Let me ask you, does it cost money for you to view real time quotes?
The old field I was using, the price would only update every 10-15 minutes or so. The new field I'm using, the price seems to change by the second. I suspect it is a real-time quote. Streaming the data and polling the data are two very different things.
Let me ask a stupid question. I'm trying to figure out a way to determine if the market is open based on the data of one specific stock. I'm thinking of using the "Last Trade Date" and "Last Trade Time" fields. If a stock hasn't been traded in say the last 30 minutes, is it "safe" to assume the market is closed? Or is it possible a stock may go hours, days or even longer without ever being traded?
I get real time quotes from my broker, or when I was doing daytrading, it cost me a hefty penny to see the market live. I believe they do it like that in order to protect the brokerage firms.
It's very possible for a low volume stock to remain idle (no transactions) while legitimately open for trade.
Market is open Monday to Friday from 9:30 sharp to 4:00 PM EST. And there again it will not be foolproof because of holidays.