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

Order book timestamps semantics #37

Closed
LKresta opened this issue Sep 9, 2022 · 4 comments
Closed

Order book timestamps semantics #37

LKresta opened this issue Sep 9, 2022 · 4 comments

Comments

@LKresta
Copy link

LKresta commented Sep 9, 2022

Hello there,

I have a question regarding order book notifications coming from WebSocket API (https://www.gate.io/docs/developers/futures/ws/en/#legacy-order-book-notification, https://www.gate.io/docs/developers/futures/ws/en/#order-book-update-notification). There's a timestamp provided in the notification - "t", comment says it's "Order book generation timestamp in milliseconds". Does this timestamp represent the time when the change occurred "in engine" or does it represent the time when the notification was dispatched from your end? I assume the former but wanted to double-check.

Thanks!

@revilwang
Copy link
Collaborator

Like futures.book_ticker #36 , it's the former one.

@LKresta
Copy link
Author

LKresta commented Sep 9, 2022

Awesome, thank you!

Sorry to mix topics but since you are insta-responding here I was wondering whether https://github.com/gateio/rest-v4 is still alive? I posted a question re. REST API there the other day (gateio/rest-v4#15), throught it being better place for REST question than here..?

@revilwang
Copy link
Collaborator

You can ask REST related questions in gateapi-xxx repositories like gateio/gateapi-python

@LKresta
Copy link
Author

LKresta commented Sep 9, 2022

Will do, thanks!

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