Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

[BUG] Gate.io orderbook feed goes out of sync #314

Open
nudabagana opened this issue Nov 30, 2021 · 0 comments
Open

[BUG] Gate.io orderbook feed goes out of sync #314

nudabagana opened this issue Nov 30, 2021 · 0 comments

Comments

@nudabagana
Copy link

nudabagana commented Nov 30, 2021

Gate.io ob feed goes out of sync quite fast. Here is a repro: https://codesandbox.io/s/node-js-forked-bu2mv?file=/src/index.js

Update 1: made another repro using regular ws. Seems like problem is still there. So gate.io might be at fault here. https://codesandbox.io/s/gate-io-ws-4o806?file=/src/index.js

Update 2: aperantly, gate.io has new websockets implementation (v4): https://www.gate.io/docs/developers/apiv4/ws/en/#spot-websocket-v4
I made reproduction using this new api, and it seems to work: https://codesandbox.io/s/gate-io-ws-v4-8v99z?file=/src/index.js
I guess update is needed to gate.io ws implementation then. This new version also supports more features, like snapshot.

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

No branches or pull requests

1 participant