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

Kucoin big trade only partially seen #1

Open
JannemanDev opened this issue Nov 13, 2023 · 4 comments
Open

Kucoin big trade only partially seen #1

JannemanDev opened this issue Nov 13, 2023 · 4 comments

Comments

@JannemanDev
Copy link

JannemanDev commented Nov 13, 2023

A big red candle/trade(s) (total 70k) on Kucoin was partially missed:
image

Azero trade feed only shows these two trades (total only 13k) at or around 07:01:00 (UTC+1):
image

@0xFar5eer
Copy link
Owner

Thank you for detailed information! I will look into it soon.

@0xFar5eer
Copy link
Owner

I think the issue could be that I am parsing only 100 results using this api: https://api.kucoin.com/api/v1/market/histories?symbol=AZERO-USDT
Could be that more than 100 trades matched during this moment.
I couldn't find any documentation how to use skip/limit or paging there.
Parse speed is 1 req per 2 seconds.
That means I will have to improve it and run each exchange in separate thread with very little delays.
Will do that later this week when I have more time.

@JannemanDev
Copy link
Author

Better use websocket API: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data

Already made a PoC in C# in just a few hours using this endpoint. It's pretty easy.

@0xFar5eer
Copy link
Owner

0xFar5eer commented Nov 13, 2023 via email

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

2 participants