A settlement is the final payout when a prediction market resolves. Every position you hold in a market that closes generates a settlement record on your account — won, lost, or pushed. You can query settlement history viaDocumentation Index
Fetch the complete documentation index at: https://docs.sportsxapp.com/llms.txt
Use this file to discover all available pages before exploring further.
STXSettlementService or receive live settlement events over a WebSocket channel.
Fetch settlement history
Filter options
| Parameter | Notes |
|---|---|
limit / offset | Pagination controls |
settlementType | STXTradeSettlementType.won, lost, pushed, or others |
marketIds | Array of market IDs — only return settlements for those markets |
from / to | Timestamp window for date-range queries |
Real-time settlements
For bots that need to act immediately when a market settles — for example to redeploy freed-up capital — subscribe toSTXActiveSettlementsChannelWrapper instead of polling:
LoginAsync before ConnectAsync.
See also
- Trading — order fills that accumulate into positions before settlement
- WebSockets — full channel API and reconnection behavior