Coder Social home page Coder Social logo

Import candle error with Binance about jesse HOT 6 CLOSED

gianlup avatar gianlup commented on May 10, 2024
Import candle error with Binance

from jesse.

Comments (6)

saleh-mir avatar saleh-mir commented on May 10, 2024 1

@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)

from jesse.

RonaldKepken avatar RonaldKepken commented on May 10, 2024 1

Thanks for clarifying @saleh-mir!

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

from jesse.

cryptocoinserver avatar cryptocoinserver commented on May 10, 2024

Binance seems to have missing data there. You could use Bitfinex as an alternative candle source in this case or use a later start_date.

from jesse.

gianlup avatar gianlup commented on May 10, 2024

Well yes, but there is this function

def _fill_absent_candles(temp_candles, start_timestamp, end_timestamp):
that fills missing candles with the last price and volume 0. Why isn't applicable in this case?

from jesse.

RonaldKepken avatar RonaldKepken commented on May 10, 2024

Hey @saleh-mir

This is actually not fixed for Binance right?

from jesse.

saleh-mir avatar saleh-mir commented on May 10, 2024

@RonaldKepken there's not a lot we can do except maybe to use a backup exchange for Binance. IMO Binance should fix it. Or maybe we can hardcode a date for BTC on Binance that we know has the candles.

from jesse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.