Docker test configuration file #799
Unanswered
krzysztofMajchrzak-GIT
asked this question in
Q&A
Replies: 2 comments
-
You need to map your |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want to specify the start date of the simulation sample you should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to run a few tests using configuration files but can't get it to work. So it seems like it is impossible to run bot with config file without providing API key. How to run tests using json files?
My command (I am locally build docker image):
sudo docker run -it -v ./001.json:/app/config.json --rm --user pycryptobot pycryptobot/pycryptobot
My Json config file:
And the error i get:
One more thing i cant use properly is logging and graphs. using this command:
sudo docker run -it --rm -v ./graphs:/app/graphs -v ./testlog.log:/app/pycryptobot.log -v ./testtrade.csv:/app/trades.csv --user pycryptobot pycryptobot/pycryptobot bash --exchange binance --market ETHUSDT --granularity 15m --sim fast --autorestart 1 --base_currency "ETH" --quote_currency "USDT" --disablebuynearhigh 1 --nobuynearhighpcnt 1 --sellatresistance 1 --selllowerpcnt -5 --trailingbuypcnt 1 --trailingstoploss -1 --trailingstoplosstrigger 3 --simstartdate "2022-01-01" --simenddate "2022-02-01" --predictions 1 --preventloss 1 --logs 0 --tradetracker 1 --logbuysellinjson 1
i get logfile that is a copy of terminal output, no graphs and no json files. I want to have pure json file with only transactions not all logs.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions