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

Pairing order & position updates? #43

Closed
LKresta opened this issue Oct 25, 2022 · 1 comment
Closed

Pairing order & position updates? #43

LKresta opened this issue Oct 25, 2022 · 1 comment

Comments

@LKresta
Copy link

LKresta commented Oct 25, 2022

Hello there,

I'm wondering whether there's any reasonable way to correlate notifications for order updates (futures.orders) and positions (futures.positions) - are there any guarantees to rely on? That is, assuming a trade happens:

  • Is it always like order update notification is dispatched and then the position update notification is dispatched?
  • Do order and position notifications pertaining to the trade have the same timestamp, or is it guaranteed that position update timestamp will not be older than order update one?

Thanks,
L.

@revilwang
Copy link
Collaborator

Seems this issue discuss the same topic with #44. I'll close this one as duplicate

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