xFFFFF / Gekko-BacktestTool

Batch backtest, import and strategy params optimalization for Gekko Trading Bot. With one command you will run any number of backtests.
MIT License
231 stars 85 forks source link

Gekko can't find the strategy #41

Open njandam opened 6 years ago

njandam commented 6 years ago

it seems that backtestTool can't find my strategy. Strategy is in /strategies folder and toml is in \config\strategies. Below details of the the output. Same behavior in win10 and ubuntu. Not sure why this is happening, other strategies like RSI, RSI_BULL_BEAR .... are working fine.

Any advice?

output:

============================================================= L A S T R E S U L T S ============================================================ Pair Strategy Profit Profit-market Trades/day Win trades Best win Worst loss HODL Days Time


USDT-BTC Backtest is failed. Gekko can't find the strategy "GbtEmaRsiV02"

[2018-09-14 20:53:10] 100% complete. Elapsed: 00:00:00, average backtest duration: 00:00

njandam commented 6 years ago

it seems that solution for "can't find the strategy" is renaming strategy and toml file to all capital letters file name like "ABC". I don't know if this is a bug, expected behavior, or my mistake because now i get messages like:

=================================================================================================================================================== [2018-09-15 21:14:40] 6 backtests remain ============================================================= L A S T R E S U L T S ============================================================ Pair Strategy Profit Profit-market Trades/day Win trades Best win Worst loss HODL Days Time


Month '16' out of range 0..11 at backtest.pl line 330. Can't use an undefined value as a HASH reference at backtest.pl line 674. Month '16' out of range 0..11 at backtest.pl line 330. Month '16' out of range 0..11 at backtest.pl line 330. Month '16' out of range 0..11 at backtest.pl line 330. Month '16' out of range 0..11 at backtest.pl line 330.

any ideas about this one?