Gekko Forum
BacktestTool - batch backtest, import and strategy parameters optimalization - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Third Party Software (https://forum.gekko.wizb.it/forum-18.html)
+--- Thread: BacktestTool - batch backtest, import and strategy parameters optimalization (/thread-1670.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - Justaotheruser - 08-06-2018

@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.


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - st3ppin - 08-06-2018

Thank you. Now the backtest.pl start..Smile


0.00 Profit - danibeni81 - 08-19-2018

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


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - cantthink19 - 08-26-2018

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.


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - Tron2025 - 08-27-2018

Same Problem for me " I always see on the summary a PROFIT of 0.00" with Gekko 0.6.4 or 0.6.5"


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - danibeni81 - 08-27-2018

(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!


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - ngocven - 09-04-2018

(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



RE: BacktestTool - batch backtest, import and strategy parameters optimalization - Tron2025 - 09-05-2018

(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 :-(


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - jasonbtc - 09-20-2018

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-BacktestTool/blob/master/backtest-config.pl#L19


RE: BacktestTool - batch backtest, import and strategy parameters optimalization - crypto49er - 09-22-2018

(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-BacktestTool/blob/master/backtest-config.pl#L19

I think they are both minutes:minutes.