question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import candle error with Binance

See original GitHub issue

If I try to import candles with the command jesse import-candles Binance BTCUSDT 2018-02-01 it starts to download but after some time the following exception is thrown Uncaught Exception: CandleNotFoundInExchange: No candles exists in the market for this day: 2018-02-08 Try another start_date

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RonaldKepkencommented, Oct 27, 2020

Thanks for clarifying @saleh-mir!

I was wondering about this as well. I think it’d be a pretty important fix/improvement for Jesse.

1reaction
saleh-mircommented, Oct 21, 2020

@gianlup if the exchange returns a number of candles, _fill_absent_candles checks for missing candles and fills them (using the candles around it). But in that period, no candle is received at all. So _fill_absent_candles can’t do its job.

Basically Binance does not have candles for several days in that point. I have fixed this issue for Bitfinex and Coinbase by using a backup exchange to get the data for those days. But for Binance, I have not (yet)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting this error 'ModuleNotFoundError: No module ...
This can happen when a directory in your project called "binance". Basically PyCharm will think that you are importing ...
Read more >
Welcome to python-binance v1.0.16 — python-binance 0.2.0 ...
This is an unofficial Python wrapper for the Binance exchange REST API v3. I am in no way ... from binance import Client,...
Read more >
python-binance Documentation - Read the Docs
Register an account with Binance. Generate an API Key and assign relevant permissions. If you are using an exchange from the US, Japan...
Read more >
Binance Python API – A Step-by-Step Guide - Algo Trading 101
We need to import the ThreadedSocketManager to use this function, along with the sleep function from the time module. btc_price = {'error':False}. Next...
Read more >
How to Use TradingView on Binance Website
The Binance trading interface contains a robust set of tools and options to help you in your trading analysis. These include: Candlestick charts ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found