Skip to content

Instantly share code, notes, and snippets.

@soof-golan
Last active March 12, 2022 13:21
Show Gist options
  • Save soof-golan/4f102bf74ad149f62a1ed66aa423ae12 to your computer and use it in GitHub Desktop.
Save soof-golan/4f102bf74ad149f62a1ed66aa423ae12 to your computer and use it in GitHub Desktop.
stockr post gists
{"action":"auth","key": "API_KEY_ID","secret":"API_KEY_SECRET"}
{"T":"success","msg":"connected"}
const ws = new WebSocket(`wss://${baseUrl}?keyId=${keyId}&apiKey=${apiKey}`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment