Skip to content

SDKs

The REST and WebSocket APIs are the contract, and every SDK is a convenience on top of them. Nothing here does anything you could not do with an HTTP client and a WebSocket, so an SDK is worth taking when it saves you work and worth skipping when it does not.

npm install @stxapp/stx-typescript # TypeScript
pip install stx-python # Python
dotnet add package STX.Sdk # C#
go get github.com/stxapp/stx-go # Go
TypeScript Python Go
Current release 0.12.10.10.1v0.3.1
Trade your own account (API key, signed requests) Yes Yes Yes
Streams (WebSocket channels) Yes, with a live account view Yes, sync and async, with a live account view Yes, with a live account view
Combos (as player or maker) Yes Yes Yes
Apps acting for members (OAuth) Yes, With the TypeScript SDK Yes, With the Python SDK Yes, Apps
Sign in with STX Yes Yes Yes
Market data as your app (client credentials) Yes Yes Yes
Create markets Yes Yes Yes
Leaderboard and public profile Yes Yes Yes
What this exchange offers (capabilities()) Yes Yes Yes, Capabilities

Each SDK talks to any STX exchange. A feature the exchange you point it at does not have answers with a typed error rather than a failed request you have to decode: STXNotAvailableException in TypeScript, STXNotAvailableError in Python and an error matching stx.ErrNotAvailable in Go, naming the feature and the exchange. capabilities() tells you before you call. Which exchange has which feature is on each SDK’s What you can do page (TypeScript, Python, Go), on each feature’s page and on Environments.

The C# SDK is listed above; its pages describe what it covers.

STX is operated by XV Exchange, LLC, a Designated Contract Market regulated by the U.S. Commodity Futures Trading Commission (CFTC). Contracts traded on STX are cleared by XV Clearing, LLC, a CFTC-registered Derivatives Clearing Organization. Trading involves substantial risk of loss and may not be appropriate for everyone. Members risk losing the cost to enter any transaction, including fees. Consider whether trading is appropriate for you in light of your experience and financial resources. Nothing on this site is investment advice or a recommendation to trade. Past performance is not indicative of future results.

© 2026 STX. All rights reserved.llms.txtllms-full.txtView as Markdown
Docs version v1.10.5