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

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

@nudabagana

Description

@nudabagana

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions