bullsignals / binance-downloader

Python tool to download Binance Candlestick (k-line) data from REST API
MIT License
49 stars 18 forks source link

IndexError: list index out of range #13

Closed einewton closed 6 years ago

einewton commented 6 years ago

I wanted to get all of the data, so I set a very high limit, but when I do I get the following error:

0%| | 219500/99999999999999 [03:05<21402766:26:33, 1297.86it/s] Traceback (most recent call last): File "\kline-binance", line 4, in main() File "\binance\cli.py", line 44, in main binance.consult(output) File "site-packages\binance\api.py", line 52, in consult self.kwargs['startTime'] = update_start_time(self.klines[-1].open_time) IndexError: list index out of range

Command Ran: kline-binance -i 1m -s XRPBTC -l 99999999999999 -st 01/01/2017 -e 05/04/2018

santoshyadavdev commented 6 years ago

Will start working on this issue.

anderson89marques commented 6 years ago

Nice. Thanks for your help @santoshyadav198613.

samuelhei commented 6 years ago

Closed on https://github.com/bullsignals/binance-downloader/pull/18