Data downloader for Gekko

A really great guy from the Gekko community called Haxus has built a data downloader for Gekko. It works by getting data from https://bitcoincharts.com/charts.

You will need to download and use the shell script and follow his instructions below. If you have any queries put them in the comments.

Install “bitcoin-scraper”
git clone https://github.com/F1LT3R/bitcoin-scraper.git
cd bitcoin-scraper
mkdir data
npm install

### Fix Bugs if not already done by the developer meanwhile
### Font fix
cd node_modules/figlet/fonts/
wget http://www.textfiles.com/art/pepper.flf
cd ../../../

### spelling fix
sed -i ‘s/pepper/Pepper/’ combine.js
sed -i ‘s/pepper/Pepper/’ scrape.js

### Fix the URL to get minute candles instead of hour candles:
sed -i “s/r=60/r=1/g” scrape.js

### Configure the market you want to download
# by changing “const market = ‘bitstampUSD’“ to
# whatever you want, plz see
# https://bitcoincharts.com/charts (symbols) for more detailes
const market = ‘bitstampUSD’

# You may also change the timeframe within that file
const dates = {
from: {
year: 2011,
month: 9,
day: 14
},

to: {
year: 2017,
month: 08,
day: 9
},
}

### Now let us do the magic
./convertToDB.sh

#move the
mv data/bitstamp_0.1.db /Path/To/Gekko/history/

Multiple currencies 1 year plus history (poloniex)

 

This poloniex database contains a number of major currency pairs with over 1 year of data. It includes:

ETH USDT

BTC USDT

XMR USDT

and many more.

To use with Gekko, dump the file into the history folder. If you’re using Bash on Windows you will need to follow these instructions.

BTC USD 5 year history (BTC-e.com)

 

Currency: USD

Asset: BTC

Exchange: BTC-e.com

From: 2011-08-14 14:14

To: 2017-02-20 01:32

Total time period covered 5 years, 6 months, 1 week, 14 hours, 18 minutes

To use with Gekko, dump the file into the history folder. If you’re using Bash on Windows you will need to follow these instructions.