What changed, and when. If you are building against the API, this is the page to check before you upgrade, and worth a look whenever something behaves differently than you expect. Entries headed with a name, such as C# SDK, are scoped to that; the rest are the API itself.
There is one feed for all of it, and each entry carries its scope as a category.
2026-11-12
Section titled “2026-11-12”Go SDK 0.1.0.
Go SDK 0.1.0
Section titled “Go SDK 0.1.0”- A new SDK for Go.
go get github.com/stxapp/stx-go, thenstx.Newgives one client that signs every request with your API key and covers every REST operation, with a service per area and acontext.Contexton every call. See the Go SDK. - Streams.
client.Streamcarries every documented WebSocket channel on one connection, reconnects and rejoins on its own, andAccountViewkeeps a live copy of your balance, open orders, fills and positions. See WebSockets. - Combos, as player or maker, over the same stream. See Combos.
- Apps. The
oauthpackage covers app tokens, linking a member’s STX account to your app’s own accounts, sign in with STX, and acting for members through a login service, and the last three each have a runnable example. See Apps: connect members. - A quickstart.
examples/quickstartchecks your key, lists markets, and reads your balance and positions. - Typed errors. Failures are typed values you match with
errors.Isanderrors.As, and a feature the exchange does not have returns an error matchingstx.ErrNotAvailable.Client.Capabilitiestells you before you call. See Errors & retries.
2026-10-30
Section titled “2026-10-30”C# SDK 2.1.0.
C# SDK 2.1.0
Section titled “C# SDK 2.1.0”- Create markets with an OAuth app.
CreateMarketsAsynccreates player-prop markets on a scheduled event, up to 25 per call, with a dry run that checks everything and creates nothing. Available on US demo now. See Create markets. - App tokens. Set
ClientIdandClientSecretand the client gets and renews aclient_credentialstoken for the calls that take one. An API key is optional when an app is configured. - Location comes from your connection. API key requests are located from the connection they arrive on, so the SDK no longer models location data and two location members are gone from the generated models. Requests from outside the US and Canada are refused with
STXRejectedException.
2026-10-22
Section titled “2026-10-22”C# SDK 2.0.
C# SDK 2.0.0
Section titled “C# SDK 2.0.0”- A new SDK over the REST API and the WebSocket channels, authenticated with an API key. One
STXClientsigns every request, and oneSTXWebSocketcarries every channel. See the C# SDK. - It replaces 1.x. Nothing from 1.x carries across unchanged, so plan the move as a rewrite of the code that talks to the exchange. See Moving from 1.x.
- 1.x stays installable. To stay on it, pin the range
[1.6.2,2.0):<PackageReference Include="STX.Sdk" Version="[1.6.2,2.0)" />.
2026-10-21
Section titled “2026-10-21”C# SDK 1.6.2
Section titled “C# SDK 1.6.2”- Login works while new terms and conditions are waiting to be accepted. Previously it failed with a deserialization error.
- With
checkTermsAndConditions: true,LoginAsyncaccepts the terms in effect and completes the login. The automatic re-login thatkeepSessionAliveperforms does the same. - Without it,
LoginAsyncreturnsPromptTncAcceptance = trueand opens no session, so the app can show the terms first.
- With
AcceptTermsAndConditionsAsyncno longer throws when the terms are accepted successfully.
2026-10-12
Section titled “2026-10-12”Combos are live on US demo, with SDK support.
Combos
Section titled “Combos”Combos, one contract across several markets priced by request for quote, can now be tried on US demo. A player requests quotes on two to five legs for a stake, makers see every request as it opens and quote what the player wins, and the player accepts an amount; both sides then get an ordinary limit order on the combination’s market. The protocol changed since the early look in docs-v1.5.0, so read the updated pages before building. Other environments refuse the combo channels with unmatched topic. See Combos and the combo negotiation channel.
TypeScript SDK 0.8.1
Section titled “TypeScript SDK 0.8.1”comboPlayer()andcomboMaker()to request, quote, accept, cancel and cash out combos. Where combos are not available, joining throwsSTXCombosUnavailableException. See Combos.
Python SDK 0.7.0
Section titled “Python SDK 0.7.0”ws.rfq()andws.combo_quote()onSTXWebSocketfor the same combos flow, with typed models andSTXCombosUnavailableException. See Combos.
2026-10-03
Section titled “2026-10-03”A User-Agent requirement and an early look at combos.
REST API
Section titled “REST API”- Send a
User-Agent. REST requests and WebSocket handshakes without aUser-Agentheader are refused with403. Most HTTP libraries send one already; some WebSocket clients, such as Node’sws, do not unless you set it. See Authentication.
Combos (preview)
Section titled “Combos (preview)”Combos, one contract across several markets priced by request for quote, are documented as an early look so you can plan for them. They are not available to try yet, and the protocol may change before release. See Combos and the combo negotiation channel.
The Python SDK is on PyPI.
Python SDK 0.6.0
Section titled “Python SDK 0.6.0”The Python SDK is on PyPI. Trade on STX from Python with typed methods instead of hand-built, hand-signed requests.
pip install stx-python- A blocking client,
STX, and an asyncio client,AsyncSTX, with a method for every REST route. - Requests and the WebSocket handshake are signed with your API key. There is no login call and no session to refresh.
- Stream order books, trades and your own orders, fills, positions and balance on one connection that keeps itself alive and reconnects for you.
- Walk long lists without handling pages yourself, with
iter_markets(),iter_orders()and the rest. - Every response is a typed model, and money and quantities arrive as strings exactly as the API sends them, never floats.
- Retries are safe: an order is never sent twice after an uncertain failure.
- Pick an exchange by name, such as
region="us", env="demo", or set your key once in a credentials profile.
Start with the Python SDK guide. Runnable examples are in stx-python-demo.
2026-09-30
Section titled “2026-09-30”The TypeScript SDK is on npm, two new WebSocket channels, and your positions over REST.
TypeScript SDK 0.6.3
Section titled “TypeScript SDK 0.6.3”The TypeScript SDK is on npm. Trade on STX from Node.js with typed methods instead of hand-built, hand-signed requests.
npm install @stxapp/stx-typescript- Read markets and your account, and place and cancel orders, with every response typed in your editor.
- Stream order books, trades and your own orders, fills, balance and positions. The SDK signs the connection, keeps it alive and reconnects for you.
- Keep one live, always current view of your account with
accountView(). - Walk long lists without handling pages yourself, with
iterMarkets(),iterOrders()and the rest. - Retries are safe: an order is never sent twice after an uncertain failure.
- Set your key once, in environment variables or a credentials profile, and switch between the US and Ontario exchanges with one option.
Start with the TypeScript SDK guide.
Since 0.6.0:
balance(),positions()andplaceOrders()work on every STX exchange, with the same results everywhere.placeOrders()checks the whole list before placing any order: an over-long list or a malformed order is refused with nothing placed.
REST API
Section titled “REST API”GET /api/v1/positionsreturns your open positions, largest first. It is the same body thepositions:{user_id}channel sends on join, so one REST read can seed the state that channel then keeps current. See List open positions.GET /api/v1/fillstakesorder_idsand returns only the fills those orders produced. It combines withmarket_idsandstatus. See List fills.- Name your client. Send a
User-Agentsuch asacme-mm/1.4 (python/3.13)on REST calls and the WebSocket handshake. It is optional and never rejected, and it lets us find your calls when you report something. See Identify your client.
WebSockets
Section titled “WebSockets”order_slip:{user_id}costs an order before you place it: risk, fee, and how much would fill at once and at which prices, pushed again whenever the book moves. Nothing is placed. It replacesbetslip:{user_id}, which still works but sends money rounded to two decimals; moving is a topic change plus parsing money and quantities as decimal strings. See Order slip.eventscarries traded volume per event, one number across every market on it. No authentication. See Events.
OAuth for apps
Section titled “OAuth for apps”Apps can act for STX members with their consent: the authorization code flow with PKCE, tokens limited to the scopes the member approved, and a member can disconnect at any time. See Apps.
2026-09-19
Section titled “2026-09-19”C# SDK 1.6.0 and 1.6.1, published to NuGet as
STX.Sdk. Email and password authentication is
unchanged and everything new here is opt-in. Two types were removed, STXProfileService and
STXUserProfile; see Removed below if you use them.
dotnet add package STX.SdkC# SDK 1.6.0
Section titled “C# SDK 1.6.0”API keys. Authenticate with an Ed25519 API key, signed per request. No login call, no token expiry, no refresh cycle. Email and password authentication continues to work exactly as it does today.
services.ConfigureSTXServices( STXEnvironment.OntarioDemo, STXApiKeyCredentials.FromPemFile(keyId, "~/.stx/ontario.pem"));See Request signing for creating a key and choosing its scope.
Named environments. Supply credentials, not URLs.
STXEnvironment.OntarioDemo,USDemo,OntarioProductionSTXEnvironment.Custom(...)for anything else; passing URLs directly still works- These resolve to
demo.stxapp.ca,demo.stxapp.ioandstxapp.ca, which may differ from the host your integration uses today. Check firewall and allowlist rules before switching
Identity. STXIdentityService.GetMeAsync() returns your user id, account id and scope.
Call it once at startup before joining any user-scoped channel: channel topics are keyed on
the user id, and an API key has no login response to carry it.
.NET 10. A net10.0 build ships alongside net8.0. A .NET 8 or 9 app resolves the
net8.0 build as before; nothing needs to change.
Debug symbols are embedded, so SDK frames in stack traces carry file names and line numbers.
Reliability
- A failed token refresh no longer stops the host process. It is reported through the session message callback instead
- Login and token refresh are retried; previously they were the only calls with no retry
- Retries exclude credential errors, 401, 403 and 429. HTTP 404 is retried, since that is what an ingress returns mid-deployment
- Failures preserve the cause as
InnerExceptioninstead of a bare “Request Failed”
Removed. STXProfileService and STXUserProfile. Use STXIdentityService and
STXIdentity.
C# SDK 1.6.1
Section titled “C# SDK 1.6.1”STXTrade.Actionno longer throws when serialised withSystem.Text.Json, which affected ASP.NET endpoints returning trade history- If you installed 1.6.0 in the days before this announcement, the identity types were named
STXViewerServiceandSTXViewerin that build. They areSTXIdentityServiceandSTXIdentityfrom 1.6.1 onwards;GetMeAsync()is unchanged
2026-09-10
Section titled “2026-09-10”Breaking changes to the REST API.
Money and quantities are now strings. Responses carry money as a dollar amount and quantities as decimals, both as strings.
| Before | Now | |
|---|---|---|
| Price | 49 |
"0.4900" |
| Quantity | 10 |
"10.00" |
To port, divide by 100 any money field you were reading or sending as a whole
number of cents. These fields on GET /api/v1/markets were already in dollars and
keep their value: price, bids[].price, offers[].price and
recent_trades[].price. Parse money with a decimal type rather than a float.
Placing orders. Send price in quotes to POST /api/v1/orders, for example
"price": "0.49". A price sent without quotes, such as 49 or 0.49, is rejected
with a 400.
Use total_fee for a trade’s fee. It is the full fee for the trade.
New WebSocket topics. The new account topics carry the same events as before, with money and quantities as strings like REST:
| Previous topic | New topic |
|---|---|
active_orders:{user_id} |
orders:{user_id} |
active_trades:{user_id} |
fills:{user_id} |
active_positions:{user_id} |
positions:{user_id} |
active_settlements:{user_id} |
settlements:{user_id} |
portfolio:{user_id} |
balances:{user_id} |
Also new:
account:{user_id}carries all of the above on one topic.orderbook,tickerandtradescarry public market data for any set of markets on a single join.
See WebSocket channels.
Effective 2026-09-16
Section titled “Effective 2026-09-16”Prices have at most two decimal places. "0.49" and "0.4900" are accepted;
"0.495" is rejected with a 400.
quantity must be in quotes too. Send "quantity": "10"; a quantity sent
without quotes, such as 10, is rejected with a 400.
GET /api/v1/trades is now GET /api/v1/fills. Results are under fills
instead of trades, and the row fields keep their names (trade_id, trade_fee).
The old path returns 404.
New REST endpoints: GET /api/v1/portfolio/fees and
GET /api/v1/portfolio/adjustments.
2026-08-25
Section titled “2026-08-25”First release of the STX documentation.

