askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.06k stars 3.95k forks source link

Unable to find datasets in the following markets: #1178

Closed maithanhtan closed 5 years ago

maithanhtan commented 6 years ago

Hi, I try to made custom import data for backtest. But it always get the following error:"Unable to find datasets in the following markets:" Is there anyway i can enable debug to see what made this error? Already enable config.debug = true; on control but it do not show any error. Thanks

askmike commented 6 years ago

What exchange?

maithanhtan commented 6 years ago

I made the custom data for my currency trading. Currently i had the data with following table structure: CREATE TABLE IF NOT EXISTS candles_'.$symbol.'_USD ( id INTEGER PRIMARY KEY AUTOINCREMENT, start INTEGER UNIQUE, open REAL NOT NULL, high REAL NOT NULL, low REAL NOT NULL, close REAL NOT NULL, vwp REAL NOT NULL, volume REAL NOT NULL, trades INTEGER NOT NULL );' After that i made the script that import the data to sqllite file poloniex0.1.db with this query: INSERT INTO candles'.$symbol.'_USD(start, open, high,low, close, vwp, volume, trades) values('.$result['start'][$counter].', '.$result['open'][$counter].', '.$result['high'][$counter].', '.$result['low'][$counter].', ' . $result['close'][$counter] . ', ' . $result['vwp'][$counter] . ', ' . $result['volume'][$counter] . ', ' . $result['trades'][$counter] .') Some sample of my data is: Processed 1503980986 => 751.60 => 751.60 => 751.60 => 751.60 => 751.6 => 9 => 9 Processed 1503986401 => 751.50 => 751.40 => 751.50 => 751.50 => 751.48653846154 => 52 => 19 Processed 1503986462 => 751.50 => 751.10 => 751.50 => 751.10 => 751.41111111111 => 63 => 21 Processed 1503986524 => 751.10 => 751.10 => 751.30 => 751.30 => 751.18275862069 => 29 => 29 Processed 1503986585 => 751.30 => 751.30 => 751.30 => 751.30 => 751.3 => 44 => 26 Processed 1503986647 => 751.30 => 751.30 => 751.30 => 751.30 => 751.3 => 34 => 24 Processed 1503986710 => 751.30 => 751.20 => 751.30 => 751.20 => 751.21162790698 => 43 => 30 Processed 1503986776 => 751.20 => 751.20 => 751.30 => 751.30 => 751.23076923077 => 52 => 19 Processed 1503986839 => 751.30 => 751.30 => 751.40 => 751.40 => 751.38333333333 => 42 => 27 Processed 1503986902 => 751.40 => 751.40 => 751.50 => 751.50 => 751.47878787879 => 33 => 22 Processed 1503986964 => 751.50 => 751.50 => 751.70 => 751.70 => 751.52891566265 => 83 => 33 Processed 1503987025 => 751.70 => 751.60 => 751.80 => 751.60 => 751.71052631579 => 57 => 33 Processed 1503987086 => 751.60 => 751.60 => 751.70 => 751.70 => 751.65909090909 => 44 => 29 Processed 1503987157 => 751.70 => 751.70 => 751.70 => 751.70 => 751.7 => 22 => 22 Processed 1503987220 => 751.70 => 751.50 => 751.70 => 751.50 => 751.56341463415 => 41 => 29 Processed 1503987283 => 751.50 => 751.50 => 751.50 => 751.50 => 751.5 => 17 => 16 Processed 1503987344 => 751.50 => 751.50 => 751.50 => 751.50 => 751.5 => 23 => 22 Processed 1503987405 => 751.50 => 751.40 => 751.50 => 751.50 => 751.45714285714 => 35 => 31 But when i scan the data-sets in web GUI it said unable to find data-sets. My goal is to use the back-test to testing strategies on my market. That is in Forex. Is there any better way to import the data by local file not by API for back-testing? Thanks you so much.

askmike commented 6 years ago

Ah, could you send me the sqlite file? I can check what is different from the ones generated by Gekko. You can email it to gekko@mvr.me

maithanhtan commented 6 years ago

Thanks. I had send an email, did you get it?

askmike commented 6 years ago

Yes got it! Very busy at the moment, hope to help you out asap!

On Thu, Oct 5, 2017 at 2:54 AM, maithanhtan notifications@github.com wrote:

Thanks. I had send an email, did you get it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/askmike/gekko/issues/1178#issuecomment-334337548, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7MDzA7dQuum8-gWDDrNtFR_DXdQ8Yzks5spDa5gaJpZM4Pr4fb .

-- PGP key at keybase.io/mikevanrossum https://keybase.io/mikevanrossum/key.asc

thienlhh commented 6 years ago

I'd faced with this issue on Windows 10 when trying to import data for backtesting. I'm try to import from poloniex USDT/BTC.

Is there any temporary solution?

dmitriz commented 6 years ago

Getting this problem with Binance for every asset.

Poloniex works fine.

Any idea why?

dano000 commented 6 years ago

Also getting the same problem with Coinfalcon

absilon commented 5 years ago

Is there any solution for this? I am experiencing the same issue. Running Gekko under Windows 10 in BASH (UBUNTU). I am getting "Unable to find datasets" when trying to import from any/all markets. The same exact thing happens when I install it on an Ubuntu VM. No errors in the console. I would really appreciate a solution for this issue. Thank you.

yotys commented 5 years ago

Same problem here (using coinfalcon).

Unable to find datasets in the following markets:

- coinfalcon:EUR:BTC
- coinfalcon:USDT:BTC
- coinfalcon:EUR:IOT
- coinfalcon:BTC:TRX
- coinfalcon:BTC:ECA
- coinfalcon:BTC:XRP
- coinfalcon:BTC:DTX
- coinfalcon:BTC:DASC
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.