Skip to content

API reference

Describes stx-python 0.10.1, the current release.

Generated from the source of stx-python. For a walkthrough, start with the overview.

Page Covers
STX The blocking client: every method, its parameters and what it returns.
AsyncSTX The asyncio client: every method and its parameters.
STXWebSocket The WebSocket client: connecting, joining channels and reconnecting.
Channel A joined WebSocket channel and the messages it delivers.
Page and retry policies Pagination results, batch order results, and the retry and reconnect policies.
OAuth apps Connecting members, app tokens, token and sign-in stores, scopes.
Sign in with STX OpenID Connect sign-in: the redirect, the callback and the verified identity.
Creating markets and capabilities Market types, event players, the markets to create, results, and what an exchange offers.
AccountView A live copy of your account kept by the socket.
Combos The combo channels, their commands and the models of their replies and pushes.
Errors Every exception the SDK raises.

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