BacktestTool - batch backtest, import and strategy parameters optimalization
#96
(08-27-2018, 08:57 AM)Tron2025 Wrote: Same Problem for me " I always see on the summary a PROFIT of 0.00" with Gekko 0.6.4 or 0.6.5"

I got the solution two days ago on a different forum (https://github.com/xFFFFF/Gekko-BacktestTool/issues/35) and it works for me:

You need to change in line 1280 of backtest.pl:

my @profit = $grun =~ /(?<=simulated profit:\t\t )[0-9.-][0-9.-]* $sets[1] ((.)(?=%))/;

to

my @profit = $grun =~ /(?<=profit:\t\t )[0-9.\-][0-9.\-]* $sets[1] \((.*)(?=\%\))/;

...good luck!
  Reply


Messages In This Thread
RE: Gekko backtest tool - by PapoKarlo - 03-20-2018, 05:39 PM
RE: Gekko backtest tool - by CryptoCoeus - 09-22-2018, 02:08 PM
0.00 Profit - by danibeni81 - 08-19-2018, 07:55 PM
RE: BacktestTool - batch backtest, import and strategy parameters optimalization - by danibeni81 - 08-27-2018, 09:29 AM

Forum Jump:


Users browsing this thread: