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.73k stars 748 forks source link

where is the nntrader directory #108

Open Masonlxy opened 5 years ago

Masonlxy commented 5 years ago

i download your project,but the nntrader directory doesn't exist. .and when i type the python main.py --mode=generate --repeat=1. there was a error: Traceback (most recent call last): File "main.py", line 132, in main() File "main.py", line 63, in main generate.add_packages(load_config(), int(options.repeat)) File "/home/liuxuyang/PycharmProjects/untitled2/venv/PGPortfolio-master/pgportfolio/autotrain/generate.py", line 14, in add_packages all_subdir = [int(s) for s in os.listdir(package_dir) if os.path.isdir(package_dir+"/"+s)] File "/home/liuxuyang/PycharmProjects/untitled2/venv/PGPortfolio-master/pgportfolio/autotrain/generate.py", line 14, in all_subdir = [int(s) for s in os.listdir(package_dir) if os.path.isdir(package_dir+"/"+s)] ValueError: invalid literal for int() with base 10: '.idea'

Draichi commented 5 years ago

I notice the same thing, i was able to make the project run using PGPortfolio instead nntrader

dexhunter commented 4 years ago

nntrader is the name we used before publishing the repo. Although I only see .idea error, I think you can just delete .idea folder if that's the problem.