Skip to content

Responsible trading

STX is required by gaming regulations to provide tools that allow users to control and limit their own participation. These limits are also available via the API.


Each account has two sets of limits:

  • Admin limits — set by STX. They define the ceiling a user cannot exceed.
  • Account limits — set by the user. They can be equal to or lower than the admin limits, but never higher.

Users who want higher admin limits (e.g. market makers who require a higher order liability ceiling) must contact STX support. Default admin limits are calibrated for casual participants, not professional traders or market makers.

Key Description
DAILY_DEPOSIT Maximum deposit per calendar day
WEEKLY_DEPOSIT Maximum deposit per week
MONTHLY_DEPOSIT Maximum deposit per month
LIFETIME_DEPOSIT Maximum total deposits over the life of the account
ORDER_LIABILITY Maximum total outstanding order liability at any moment
MAX_ORDER_LIABILITY_PER_ORDER Maximum liability on any single order
LOSS_LIMIT_24_HOURS Maximum realised loss over any 24-hour window
LOSS_LIMIT_WEEKLY Maximum realised loss per week
LOSS_LIMIT_MONTHLY Maximum realised loss per month
HOURS_PER_DAY Maximum hours of app usage per day (optional, for problem gambling support)
COOL_OFF_PERIOD Hours a user must wait after exceeding HOURS_PER_DAY
query {
accountLimitsNumber {
accountLimits {
orderLiability
maxOrderLiabilityPerOrder
dailyDeposit
lossLimit24Hours
}
adminLimits {
orderLiability
maxOrderLiabilityPerOrder
}
}
}
mutation {
setLimitNumber(key: ORDER_LIABILITY, value: 50000) {
accountLimits {
orderLiability
}
}
}

Setting value: null removes a user-set limit (the admin limit still applies).

The COOL_OFF_PERIOD limit requires the user’s current password as a safety check:

mutation {
setLimitNumber(key: COOL_OFF_PERIOD, value: 24, password: "current-password") {
accountLimits {
coolOffPeriod
}
}
}

Users can permanently close their account via the closeAccount mutation, or set an indefinite self-exclusion period using setLimitNumber with the appropriate responsible gaming limit keys. Contact STX support for guidance on the self-exclusion process.