Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchTrades "since" doesn't work for okx, and bybit #22552

Closed
x1i4b1x2 opened this issue May 19, 2024 · 3 comments
Closed

fetchTrades "since" doesn't work for okx, and bybit #22552

x1i4b1x2 opened this issue May 19, 2024 · 3 comments
Assignees

Comments

@x1i4b1x2
Copy link

Operating System

No response

Programming Languages

No response

CCXT Version

last

Description

The "since" in fetchTrades only works on Binance.

Code

  

@pcriadoperez pcriadoperez self-assigned this May 19, 2024
@pcriadoperez
Copy link
Contributor

Hi @x1i4b1x2,
I tested on both okx and bybit using ts, python and php and worked for me in all cases.
Are you able to provide a snippet of code that reproduces the error?
Thanks!

@x1i4b1x2
Copy link
Author

Yes with older timestamps it doesn't work, but it might be the exchange that doesn't return older data. For example, it seems that okx returns only the most recent 500 trades, what do you think?

@carlosmiei
Copy link
Collaborator

Hello @x1i4b1x2, yes that's a limitation on the exchange-side, none of those accept a since parameter upon fetching public trades

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants