ZhengyaoJiang / PGPortfolio

PGPortfolio: Policy Gradient Portfolio, the source code of "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem"(https://arxiv.org/pdf/1706.10059.pdf).
GNU General Public License v3.0
1.74k stars 750 forks source link

new live data config settings #14

Closed AhmMontasser closed 6 years ago

AhmMontasser commented 6 years ago

Hello, I have been trying to code the live trader, but 1 issue facing me is how to get live poloniex data while using the classes already implemented, of course i can hardcode 'generate_history_matrix' of the trader class to create the [3,11,31] data every tick manually but i am asking for the right way of doing it using the config settings since i didn't understand it.

i mean how to automate pulling the live data in sync. with the database. Sorry for too much questions. Regards

ZhengyaoJiang commented 6 years ago

Greetings, There hasn't been a method that stores live data and gives input to the agent at the same time yet. But you can implement it by yourself if you pleased to do so.

Regards

AhmMontasser commented 6 years ago

ok sure,

thank you :)