Kostis-S-Z / trading-rl

Deep Reinforcement Learning for Financial Trading using Price Trailing @ ICASSP 2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Directory error

e20916 opened this issue · comments

I am trying the run the code. I use Tensorflow=1.14 and keras=2.3.1. But the code gives me error:

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'trailing//e:100_s:500_w:100_28.10_23:48'

I change the data directory according to read.me .The code generates new folders as trailing and deng. But after that it gives me this error. How can i solve this?

Hello @e20916 ,
Are you running this on Windows? The file path formats on windows are different than in Linux and that might be the cause.

Did you try changing the " / " to " \ " in the paths? e.g this line needs to be converted
FOLDER = METHOD + "/e:" + ...
to this
FOLDER = METHOD + "\e:" + ...