Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtest is failed. #28

Open
mayurmahajan opened this issue Jun 4, 2018 · 3 comments
Open

Backtest is failed. #28

mayurmahajan opened this issue Jun 4, 2018 · 3 comments

Comments

@mayurmahajan
Copy link

Gekko BacktestTool is coming up with empty results set for the candles/strategies/pairs. I have tried various combinations.

@strategies = qw(
MACD
);

@pairs = qw(
poloniex:ALL
);

@WarmUp = qw(
1:1
);

mycomputer:~/github/gekko/gekkobacktesttool (gekko) (develop)
$ ls history/
poloniex_0.1.db (I made sure it's not empty)

Not sure why the backtesttool is giving me empty result set:

[2018-06-03 19:30:33] Collect data from coinmarketcap.com
dbname=history/poloniex_0.1.db[2018-06-03 19:30:34] Use TOML files for strategies configuration
[2018-06-03 19:30:34] Save output to csvfile: database.csv
[2018-06-03 19:30:34] Starting Backtest Machine (5 threads)...
============================================================== I N P U T D A T A ===============================================================
Pairs

poloniex:USDT:BTC
Total: 1

Strategies

StepGains MACD
Total: 2

===================================================================================================================================================
Candles

1:1
Total: 1

[2018-06-03 19:30:34] 2 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


USDT-BTC Backtest is failed.
USDT-BTC Backtest is failed.

@GekkoFreak
Copy link

I have the same problem. Did you have a solution ?

@ssalcedo00
Copy link

Still having the same problem almost a year later.

@RyutaTobita
Copy link

RyutaTobita commented Sep 2, 2019

There might be some message hiding behind the "USDT-BTC Backtest is failed." message.
You may add the below code right before the line 1471 in backtest.pl, and you may find out the hidden message as it puts you in the debug mode:

@error = $grun;

print "$sets[1]-$sets[2] Backtest is failed. @error\n";

In my case , I found the error similar to the below issue:
#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants