backtest.sh
This commit is contained in:
parent
d9fac6c604
commit
ca38b53809
@ -311,9 +311,7 @@ rm ./user_data/backtest_results/*
|
|||||||
|
|
||||||
echo "docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
|
echo "docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
|
||||||
--logfile /freqtrade/user_data/logs/freqtrade.log \
|
--logfile /freqtrade/user_data/logs/freqtrade.log \
|
||||||
--freqaimodel LightGBMRegressorMultiTarget \
|
|
||||||
--config /freqtrade/config_examples/$CONFIG_FILE \
|
--config /freqtrade/config_examples/$CONFIG_FILE \
|
||||||
--config /freqtrade/templates/$CONFIG_FILE \
|
|
||||||
--strategy $STRATEGY_NAME \
|
--strategy $STRATEGY_NAME \
|
||||||
--strategy-path /freqtrade/templates \
|
--strategy-path /freqtrade/templates \
|
||||||
--timerange $START_DATE-$END_DATE \
|
--timerange $START_DATE-$END_DATE \
|
||||||
@ -324,7 +322,6 @@ echo "docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
|
|||||||
docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
|
docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
|
||||||
--logfile /freqtrade/user_data/logs/freqtrade.log \
|
--logfile /freqtrade/user_data/logs/freqtrade.log \
|
||||||
--config /freqtrade/config_examples/$CONFIG_FILE \
|
--config /freqtrade/config_examples/$CONFIG_FILE \
|
||||||
--config /freqtrade/templates/$CONFIG_FILE \
|
|
||||||
--strategy $STRATEGY_CLASS_NAME \
|
--strategy $STRATEGY_CLASS_NAME \
|
||||||
--strategy-path /freqtrade/templates \
|
--strategy-path /freqtrade/templates \
|
||||||
--enable-protections \
|
--enable-protections \
|
||||||
@ -357,6 +354,6 @@ cd -
|
|||||||
sed -i '' 's/\\x1B\\[[0-9;]*m//g' output.log
|
sed -i '' 's/\\x1B\\[[0-9;]*m//g' output.log
|
||||||
cp output.log result/ -f
|
cp output.log result/ -f
|
||||||
cd tools/
|
cd tools/
|
||||||
python tradestocsv.py
|
python3 tradestocsv.py
|
||||||
python analytic.py >../result/analytic.log
|
python3 analytic.py >../result/analytic.log
|
||||||
cd ../
|
cd ../
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user