You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can easily use the function within a loop by going through several values for specific parameters:
For example:
>>> from stocker.predict import tomorrow
>>> stocks = ['GOOGL', 'AMZN', 'AAPL', 'FB']
>>> print([tomorrow(x) for x in stocks])
[[1546.12, 1.562, '2020-07-13'], [3299.55, 1.694, '2020-07-13'], [393.78, 1.75, '2020-07-13'], [242.26, 2.669, '2020-07-13']]
In that way you can get the result for multiple stocks. This is a good feature that can be added for a new version. For now, it is necessary to create your own loop.
Also, check this short tutorial to see how to play with the different parameters.
HI Julian
I actually sent you an email anyway: is it possible to iterate the stock.prediction.tomorrow() function for single or multiple stocks?
thsk Angelo
The text was updated successfully, but these errors were encountered: