Skip to content

API reference

Describes github.com/stxapp/stx-go v0.3.1, the current release.

Generated from the doc comments of github.com/stxapp/stx-go, the same text go doc shows. For a walkthrough, start with the overview.

Page Covers
Client Creating a client, its options, environments and retries.
AccountService Identity, balance, positions, the public profile and terms.
MarketsService Markets, market types and creating markets.
EventsService Events and their players.
OrdersService Placing, reading and cancelling orders.
PortfolioService Fills, settlements, per-market stats and money movements.
LeaderboardService The public leaderboard and your standing.
Combos CombosService, ComboPlayer and ComboMaker: requests for quote, quotes and their events.
Streams Streams, subscriptions, channels and the live account view.
Authentication API keys, request signing and the Auth interface.
Errors Sentinel errors and the error types every call can return.
Types Request and response types, Decimal and Page.
oauth The oauth package: app tokens, member connect, token storage and sign in with STX.

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