Stock Trader [Deleted]

Looks like only these exchanges are supported, although its quite a list in and of itself.
NYSE | NASDAQ| NasdaqNM | NasdaqGS | NGM | AMEX
London .L | London .IL | London | LSE
Berlin .BE | Bremen .BM | Dusseldorf .DU | Frankfurt .F | Hamburg .HM | Hanover .HA | Munich .MU | Stuttgart .SG | XETRA .DE
Toronto | Toronto.TO
ASX | ASX.AX
NZSE | NZSE.NZ
Oslo | Oslo.OL
Paris | Paris.PA | FCHI
Vienna | Vienna.VI | ATX
Amsterdam | Amsterdam.AS | AEX
 
  • Like
Reactions: Bob
Looks amazing! I really am looking for a way to have something like this but directly related to my forum topic. Will this allow me to choose certain stocks that members can buy and sell. For example, can I make it so they can only deal with auto company stocks? If not, do you think this would ever be a feature?
Thanks!
 
Will this allow me to choose certain stocks that members can buy and sell. For example, can I make it so they can only deal with auto company stocks?
There is nothing built in to handle this, however, there is a method in the Stock Model that has been developed to handle things like this. It is extendable to add either Stock level validation or exchange level validation. You could extend this via an addon to run a validation check against an known array of Auto Company stock symbols. (note: you could also simply edit the model and add code to the function, however, you'd need to do this after each upgrade, so doing it via and addon would be the best way).

If not, do you think this would ever be a feature?
No. There is no further planned development for this addon until Yahoo! Finance makes the public Stock API's supported again (they are currently unsupported and not stable).
 
Here talk about api yahoo for ibex..
IBEX data (the data needed for this addon) is NOT available via the PUBLIC API. There is some LIMITED data accessible via YQL, however, that doesn't do any good for what this addon needs. If IBEX ever becomes available AND the API's become stable and supported again, it will most likely be added.

Im interested to my forum... But with IBEX!
There is no further planned development for this addon until Yahoo! Finance makes the public Stock API's supported again (they are currently unsupported and not stable).
Along with no further development, Stock Trader is not currently available for new license purchases as the API's are currently not supported and are unstable.

And with google finances?
Google Finance API's were removed several years ago (June 2011). I wanted to use Google instead of Yahoo, however, the Google API's were extremely limited AND metered. They also didn't have even close to the same data as Yahoo Finance has.

Selection_036.webp[/QUOTE]
 
IBEX data (the data needed for this addon) is NOT available via the PUBLIC API. There is some LIMITED data accessible via YQL, however, that doesn't do any good for what this addon needs. If IBEX ever becomes available AND the API's become stable and supported again, it will most likely be added.



Along with no further development, Stock Trader is not currently available for new license purchases as the API's are currently not supported and are unstable.


Google Finance API's were removed several years ago (June 2011). I wanted to use Google instead of Yahoo, however, the Google API's were extremely limited AND metered. They also didn't have even close to the same data as Yahoo Finance has.

View attachment 127297
[/QUOTE]
Ok men

Thanks for all.

Many apps haves ibex35... I dont know how it works, but they take info forma some site.

I say options, sorry If im bored you
 
Hi @Bob i get this errors with xf 1.5.8 and Stocktrader 1.3.8 ..
Every when i try to buy a stock.
Server Error Log
Error Info
ErrorException: Invalid argument supplied for foreach() - library/NFLJ/StockTrader/Model/Stock.php:1186
Generated By: DevEloper, 3 minutes ago
Stack Trace
#0 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/Model/Stock.php(1186): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/vhosts...', 1186, Array)
#1 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/ControllerPublic/StockTrader.php(125): NFLJ_StockTrader_Model_Stock->getAutoCompleteResults('shell')
#2 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(351): NFLJ_StockTrader_ControllerPublic_StockTrader->actionAutocomplete()
#3 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/vhosts/xxx.site/httpdocs/dev/community/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(59) "https://www.xxx.site/stocktrader/autocomplete?term=shell"
["_GET"] => array(1) {
["term"] => string(5) "shell"
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Trying to get property of non-object - library/NFLJ/StockTrader/Model/Stock.php:1186
Generated By: DevEloper, 4 minutes ago
Stack Trace
#0 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/Model/Stock.php(1186): XenForo_Application::handlePhpError(8, 'Trying to get p...', '/var/www/vhosts...', 1186, Array)
#1 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/ControllerPublic/StockTrader.php(125): NFLJ_StockTrader_Model_Stock->getAutoCompleteResults('shell')
#2 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(351): NFLJ_StockTrader_ControllerPublic_StockTrader->actionAutocomplete()
#3 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/vhosts/xxx.site/httpdocs/dev/community/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(59) "https://www.xxx.site/stocktrader/autocomplete?term=shell"
["_GET"] => array(1) {
["term"] => string(5) "shell"
}
["_POST"] => array(0) {
}
}

Server Error Log
Error Info
ErrorException: Undefined property: stdClass::$ResultSet - library/NFLJ/StockTrader/Model/Stock.php:1186
Generated By: DevEloper, 5 minutes ago
Stack Trace
#0 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/Model/Stock.php(1186): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/var/www/vhosts...', 1186, Array)
#1 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/NFLJ/StockTrader/ControllerPublic/StockTrader.php(125): NFLJ_StockTrader_Model_Stock->getAutoCompleteResults('shell')
#2 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(351): NFLJ_StockTrader_ControllerPublic_StockTrader->actionAutocomplete()
#3 /var/www/vhosts/xxx.site/httpdocs/dev/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/vhosts/xxx.site/httpdocs/dev/community/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(59) "https://www.xxx.site/stocktrader/autocomplete?term=shell"
["_GET"] => array(1) {
["term"] => string(5) "shell"
}
["_POST"] => array(0) {
}
}
 
That is due to Yahoo recently completely removing one of the unsupported public API's that the addon relies on (its no longer available). ALL of the Yahoo Stock API's are no longer supported and could be removed at anytime, so this addon has unfortunately reached its end (which I've mentioned could happen since the day I released it). Im surprised it made it this far being they discontinued support several years ago.
 
Did you see any alternatives ??
None that even come close to what Yahoo provided for FREE. Google looked promising a few years ago, but it was limited to US stocks only and was metered (and then pulled). Yahoo does have PAID, but you'd need a developer to make modifications as the PAID API's are very different than the Public APIs. Each Exchange has feeds (some free), but again, you'd be needing some major development done. Im leaning towards releasing it as OPEN SOURCE it for anyone that wants pursue private custom development.
 
None that even come close to what Yahoo provided for FREE. Google looked promising a few years ago, but it was limited to US stocks only and was metered (and then pulled). Yahoo does have PAID, but you'd need a developer to make modifications as the PAID API's are very different than the Public APIs. Each Exchange has feeds (some free), but again, you'd be needing some major development done. Im leaning towards releasing it as OPEN SOURCE it for anyone that wants pursue private custom development.
There are many new API since this post. How are we doing with the open source version?
 
This resource has been removed and is no longer available.

Stock Trader 1.x was declared EOL July 1st, 2017. I have no plans to make the source code available, however, if you'd like to discuss, please contact me privately.
 
Top Bottom