We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e72e20 commit aedfb0bCopy full SHA for aedfb0b
examples/ws-api-client.ts
@@ -61,7 +61,9 @@ async function main() {
61
// https://github.com/tiagosiebler/awesome-crypto-examples/wiki/Timestamp-for-this-request-is-outside-of-the-recvWindow
62
// wsClient.setTimeOffsetMs(-5000);
63
64
- await wsClient.getWSClient().connectWSAPI();
+ // Optional: prepare the WebSocket API connection in advance.
65
+ // This happens automatically but you can do this early before making any API calls, to prevent delays from a cold start.
66
+ // await wsClient.getWSClient().connectWSAPI();
67
68
try {
69
const response = await wsClient.submitNewOrder({
0 commit comments