Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@

[1]: https://www.npmjs.com/package/gateio-api

Public spot tickers:

```javascript
const { WebsocketClient } = require('gateio-api');
const ws = new WebsocketClient();
ws.subscribe({ topic: 'spot.tickers', payload: ['BTC_USDT'] }, 'spotV4');
```

`WebsocketClient` handles what a raw WebSocket does not:

- reconnect
- heartbeat
- resubscribe

Updated & performant JavaScript & Node.js SDK for the Gate.com (gate.io) REST APIs and WebSockets:

- Professional, robust & performant Gate.com SDK with extensive production use in live trading environments.
Expand Down
918 changes: 459 additions & 459 deletions docs/endpointFunctionList.md

Large diffs are not rendered by default.

Loading
Loading