Stock-Prediction-Models icon indicating copy to clipboard operation
Stock-Prediction-Models copied to clipboard

Real time agent question

Open ai559031 opened this issue 6 years ago • 1 comments

Hello!

I really love your works!! It's fantastic!!

I have a question on the real-time agent. When I run the app.py, there is nothing shows up in my console. Then I run the request.ipynb, it shows the current time prediction. But it seems that it won't continuously request the new stock data and the agent also not take actions in the next timestamp.

Is this because my usage way was wrong?

Thanks!!

ai559031 avatar Oct 07 '19 23:10 ai559031

you will have to give the streaming data into the .trade() function with preferably an API call to a data warehouse. and for each incoming tick the real-time bot will advance in trades. I would say implement this in PURE python and then see how the algorithm works before hosting it as a Flask app, since that requires you to configure the streaming data within the requests module and if you want to visualize your trades then you will need to serve your FLASK app with your own JS charts and what not....

IISuperluminaLII avatar Jul 13 '20 18:07 IISuperluminaLII