Download binance public kline data and auto increase 1 min kline data
下载币安历史 K 线数据,以及自动更新,默认是自动更新一分钟数据,会自动添加到 mongodb 数据库
git clone git@github.com:EasyChris/binance-kline-data.git
# install docker by shell
curl -fsSL https://get.docker.com -o get-docker.sh
# run install docker shell
sh get-docker.sh
# install docker-compose and git
apt install docker-compose git
cd binance-kline-data/mongodb
mkdir data init
docker-compose up -d
open config.py and add symbol that you need
if you need add eth/usdt coin pair,in config.py file, symbol_list
add "ETHUSDT" in symbol_list
pip install ccxt pandas requests zipfile36 pymongo pyarrow
python mult_download.py
python main.py
python export_data.py