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

adds support for the postgres db as an alternative to sqlite #78

Closed bartsidee closed 6 years ago

bartsidee commented 6 years ago

This pull request adds support for postgres db as alternative datasource for sqlite, this is beneficial when running the code in cloud environments that do not support sqlite (e.g. Heroku)

Note: there is no configuration to dynamically switch the history manager db at the moment, so one would have to manually switch the name of the file

dexhunter commented 6 years ago

LGTM. Maybe you can also update the requirements? Thanks!