Giter Site home page Giter Site logo

Comments (1)

xmatthias avatar xmatthias commented on August 15, 2024

It's correct as is (but it's often misunderstood - and most likely a huge cause of bugs, too).

since all date columns are candle open columns - the proper merge for a :40 candle (goes from :40-:45) is the :44 candle (going from :44-:45).
To simplify thinking - make a list of "when will each (short and long) candle complete" - then it may make more sense.

Your "how it should be" uses a 5m candle (from :40-:45) at :41 (when then :40-:41 candle is finished) before the candle is complete. The only value you can reliably use from this candle at this point in time is the candle's open - which is usually not what you need (and which freqtrade won't give you in live mode, either).

For a more detailed explanation, please refer to this answer i gave a few weeks ago #268 (comment)


As a side note: your data doesn't seem to make much sense overall (ignoring timestamps for a moment).
your volume at 5m is lower than at 1m - which is surely not correct (and also ohlc values don't really align with the 1m data).
As such - you should consider rechecking the code you're using to generate the 5m data - maybe compare it to the usage sample.

from technical.

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.