BacktestTool - batch backtest, import and strategy parameters optimalization
#91
@st3ppin I had the same error. Did you make sure that are your file's in the same directory ? Make also sure that all your information in backtestconfig.pl is correctly fild in. I had issue's with the database. Binance did not work for some reason, Poloniex worked for me.
  Reply
#92
Thank you. Now the backtest.pl start..Smile
  Reply
#93
Rainbow 
First of all thanks for this great tool… and for free!!
I am quite new with programming and therefore more tan happy for getting Gekko and the BackTestTool running more or less easily.

Now I got a problem:

Although the BackTestTool seems to be working fine (by looking at the roundtrips and comparing with Gekko UI the results match), for different pairs, strategies, dates and settings I always see on the summary a PROFIT of 0.00. Nevertheless I can see the results for the best and worst trade correctly. Due to this problem, I cannot evaluate the strategies  Confused

I have read all the messages on the forum and havent found anything similar.

I have also checked the backtest-config.pl in detail and played around with it, with no sucess.

Thanks a lot if anyone can give me a hint!!!

By the way, I am using Windows 10 and installed following the "Open Source MS Windows" (with Strawberry Perl and so on) proceadure.

PS: once I become bitcoin-millionaire Ill give the helpers a good tip  Wink
  Reply
#94
Failed to change directory to 'util/genMarketFiles' ????


and

DBI connect('dbname=history/binance_0.1.db','',...) failed: unable to open database file at backtest.pl line 790.
  Reply
#95
Same Problem for me " I always see on the summary a PROFIT of 0.00" with Gekko 0.6.4 or 0.6.5"
  Reply
#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
#97
(08-27-2018, 09:29 AM)danibeni81 Wrote:
(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!

I edited it like you and it worked. Great, thank you very much
  Reply
#98
(09-04-2018, 05:50 AM)ngocven Wrote:
(08-27-2018, 09:29 AM)danibeni81 Wrote:
(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!

I edited it like you and it worked. Great, thank you very much

this patch is not working with 0.6.6 :-(
  Reply
#99
Anyone knows what units should be used in CandleSize:Warmup in config file?
For example hours:hours or minutes:minutes ?
https://github.com/xFFFFF/Gekko-Backtest...fig.pl#L19
  Reply
(09-20-2018, 05:45 PM)jasonbtc Wrote: Anyone knows what units should be used in CandleSize:Warmup in config file?
For example hours:hours or minutes:minutes ?
https://github.com/xFFFFF/Gekko-Backtest...fig.pl#L19

I think they are both minutes:minutes.
If it isn't crypto, it isn't worth mining, it isn't worth speculating.
https://www.youtube.com/c/crypto49er
  Reply


Forum Jump:


Users browsing this thread: