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

Issue downloading datasets from Docker #32

Closed
rbartoli opened this issue Jun 10, 2018 · 1 comment
Closed

Issue downloading datasets from Docker #32

rbartoli opened this issue Jun 10, 2018 · 1 comment

Comments

@rbartoli
Copy link

rbartoli commented Jun 10, 2018

Hi,
Thanks a lot for this tool, it looks amazing. I've noticed an extremely slow history download on my RPI2 so I assumed that it was caused by the limited amount of resources available on the RPI2, so I decided to try it using Docker on my MBP (on a side note, is the history download a lot faster on a faster machine?). I added the config for Gekko-BacktestTool to gekko Dockerfile and it created the image correctly.

However when I run the following command I always get the following error, no matter what exchange or pair I use:

perl backtest.pl -i -p kraken:ETH:ALL -f last -t now

And the error:

Updating Gekko's kraken market data...
Done writing Kraken market data
Import 6 pairs: kraken:ETH:EOS, kraken:ETH:GNO, kraken:ETH:ETC, kraken:ETH:ICN, kraken:ETH:MLN, kraken:ETH:REP.
DBD::SQLite::db prepare failed: no such table: candles_ETH_EOS at backtest.pl line 522.
DBD::SQLite::db prepare failed: no such table: candles_ETH_EOS at backtest.pl line 522.

Any ideas?

@rbartoli
Copy link
Author

I did solve the issue running the following command:

perl backtest.pl -i -p binance:ETH:ALL -f 2017-01-01 -t now

My assumption is that the command I was using was trying to update the table, but the table didn't exist. Specifying a start date achieves what I was trying to do.

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

1 participant