Skip to content

docs: include exchange in WebSocket examples#476

Merged
realfishsam merged 1 commit into
pmxt-dev:mainfrom
999axel999:zerocracy/ws-exchange-docs-20260523010422
May 22, 2026
Merged

docs: include exchange in WebSocket examples#476
realfishsam merged 1 commit into
pmxt-dev:mainfrom
999axel999:zerocracy/ws-exchange-docs-20260523010422

Conversation

@999axel999
Copy link
Copy Markdown
Contributor

Summary

  • Add the required exchange field to WebSocket subscribe examples.
  • Include the matching method and args fields in unsubscribe examples so they match server subscription lookup.
  • Cover the overview, order book, batch order book, and trades WebSocket docs.

Tests

  • git diff --check
  • Select-String verification for "exchange": "polymarket" in updated examples
  • Checked core/src/server/ws-handler.ts requires id, action, and exchange

Prepared with local automation assistance and reviewed before submission.

@999axel999 999axel999 force-pushed the zerocracy/ws-exchange-docs-20260523010422 branch from 5213a62 to 30ad3ab Compare May 22, 2026 18:46
@999axel999 999axel999 force-pushed the zerocracy/ws-exchange-docs-20260523010422 branch from 30ad3ab to ed34696 Compare May 22, 2026 19:06
@realfishsam realfishsam merged commit 33c100b into pmxt-dev:main May 22, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants