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

question about decide_by_history #132

Closed Rongfei-J closed 4 years ago

Rongfei-J commented 4 years ago

Hi! Thanks for your great paper and code. In the backtest part, the agent uses 'decide_by_history' to make decisions. I was wondering whether the agent is able to make decisions and learn at the same time, by changing the 'tflearn.is_training' in the 'decide_by_history' to True?