Skip to content

docs: add self-hosted TypeScript examples - #1922

Open
lntutor wants to merge 1 commit into
pmxt-dev:mainfrom
lntutor:docs/self-hosted-typescript-examples
Open

docs: add self-hosted TypeScript examples#1922
lntutor wants to merge 1 commit into
pmxt-dev:mainfrom
lntutor:docs/self-hosted-typescript-examples

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown

Summary

  • pair the self-hosted server, credential, and multi-exchange Python snippets with TypeScript examples
  • use the TypeScript SDK's actual public credential keys (apiKey and privateKey)
  • correct the configuration table's stale TypeScript credential aliases
  • regenerate docs/llms-full.txt
  • add a regression test for the documented TypeScript paths

This change was AI-assisted and manually verified against ExchangeOptions, the Kalshi and Smarkets authentication adapters, and the server namespace exports.

Closes #1920

Verification

  • npm run docs:llms
  • npm test --workspace=pmxt-core -- --runInBand core/test/unit/docs-copy-paste-samples.test.js core/test/unit/llms-docs.test.js
  • git diff --check

Node.js 20.19.2 was used for the checks.

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.

docs/guides/self-hosted.mdx sections 3, 4, and 6 show Python-only code samples despite both SDKs supporting every feature shown

1 participant