Open firepol opened 6 years ago
...none does not exist
He's not parsing your modelfile arg causing it to fall back to the default, which is none
Does it work using the absolute path?
e.g. /home/whatever/zenbot/models/cexio_10m.json
Even with the full path, same error:
Modelfile /home/myuser/tools/zenbot/none does not exist.
Looks like a bug to me, see model in attachment... the json looks good, isn't it?
As suspected, modelfile doesn't get parsed.
Use --modelfile ./models/whatever.json
like:
./zenbot.sh sim cexio.XRP-USD --strategy forex_analytics --modelfile ./models/cexio_10m.json --period 10m
Testing zenbot unstable branch (just updated) on ubuntu:
I did train first:
./zenbot.sh train cexio.XRP-USD --days_training 30 --period 10m
Then I renamed the model to cexio_10m.json and run:
./zenbot.sh sim cexio.XRP-USD --strategy forex_analytics ./models/cexio_10m.json --period 10m Modelfile /home/../zenbot/none does not exist.
As you can see I get an error that the model doest not exist, but it exists...
I did try actually running the command using the super long model name and I was thinking the name had some invalid characters.