Giter VIP home page Giter VIP logo

Comments (3)

sthewissen avatar sthewissen commented on June 10, 2024

To be honest it would be weird if the hourly candle closes at X:28 instead of simply closing at the top of the hour? The current logic in develop uses the current time and compares it to the timestamp of the last candle. Let's say its 09:00 now and the bots runs at 09:01 the candle that started at 09:00 is not interesting. That's the candle that get's eliminated.

from mynt.

jgsnijders avatar jgsnijders commented on June 10, 2024

Since Binance's maintenance February 8th and 9th, the restart seems to have influenced the new candle open and close times. Binance came up at 9:28:15 AM UTC, and a new hour starts at HH:28:15 since then.

Still, getting a set of candles at a particular time will leave you with one incomplete, last candle. For a good analysis you should time the retrieval and analysis and eliminate the last one. @ASADeveloper, in your case the last candle only comprises data of 7 minutes - not something you'd want to take into account in your decision making.

It is therefore best to time your analysis at HH:29:00 and eliminate the last candle. Or you could make your bot smarter and let it time its moment to run based on the start time of the candles. You never know when Binance changes the things back to the normal conditions.

from mynt.

jgsnijders avatar jgsnijders commented on June 10, 2024

In addition to the above: Binance has changed the starting time of the candels back again. Five minute candles (the ones used by the back tester) now have a starting time of HH:m0:00 and HH:m5:00 again.

from mynt.

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.