Giter Club home page Giter Club logo

Comments (2)

donewiththedollar avatar donewiththedollar commented on August 17, 2024 2

There seems to be an issue since around 11/9/23

Bybit v5 Changelog

It appears these changes may be the reason for the issues. I have been reviewing the code, and we can also see that the fetching of current position data is still valid and updating properly (liq prices included).

However, the issue remains: why are we not seeing ADG, uPNL, and recent trades?

[Get Order History](https://bybit-exchange.github.io/docs/v5/order/order-list) [UPDATE]

Add the time range limitation for startTime and endTime request params
Classic account Spot can use orderFilter="OcoOrder"
[Get Execution](https://bybit-exchange.github.io/docs/v5/position/execution) [UPDATE]

Add the time range limitation for startTime and endTime request params
[Get Closed PnL](https://bybit-exchange.github.io/docs/v5/position/close-pnl) [UPDATE]

Add the time range limitation for startTime and endTime request params
Classic account data is sort by updatedTime
[Get Transaction Log](https://bybit-exchange.github.io/docs/v5/account/transaction-log) [UPDATE]

Add the time range limitation for startTime and endTime request params
[Get Pre-upgrade Order History](https://bybit-exchange.github.io/docs/v5/pre-upgrade/order-list) [UPDATE]

Add the time range limitation for startTime and endTime request params
[Get Pre-upgrade Trade History](https://bybit-exchange.github.io/docs/v5/pre-upgrade/execution) [UPDATE]

Add the time range limitation for startTime and endTime request params
[Get Pre-upgrade Closed PnL](https://bybit-exchange.github.io/docs/v5/pre-upgrade/close-pnl) [UPDATE]

Add the time range limitation for startTime and endTime request params
Classic account data is sort by updatedTime

I believe here is where the issue is and we will fix it soon.

from futuresboard.

kkoouu avatar kkoouu commented on August 17, 2024

For newly added symbols /v5/position/closed-pnl URL is called with startTime param set to -729 days, but this returns no trades.
I tried to change it to -365, -30, -10 and finally to -3 days, which did return closed trades.
in scraper.py:
two_years_ago = datetime.now() - timedelta(days=729)

Update:
According to https://bybit-exchange.github.io/docs/v5/position/close-pnl the interval must be 7 days max

from futuresboard.

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.