No. IBEX currently does not allow Yahoo! Finance to include exchange data in the Public API.Can we use IBEX from Spain?
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).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?
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).If not, do you think this would ever be a feature?
No. IBEX currently does not allow Yahoo! Finance to include exchange data in the Public API.
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.Here talk about api yahoo for ibex..
Im interested to my forum... But with IBEX!
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.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).
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.And with google finances?
[/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
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) {
}
}
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.Did you see any alternatives ??
There are many new API since this post. How are we doing with the open source version?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.
We use essential cookies to make this site work, and optional cookies to enhance your experience.