Skip to content

Trading:QueryLimits

Note: This action is currently not supported, and is documented for a future release.

Requests the current Trading Limits for the given Account. Individual symbols may have different limits to the general account limits.

A Trading Limit that is not provided generally indicates an unlimited value.

See Appendix G: Trading Limit for the Trading Limit codes.

Controller: Trading
Topic: QueryLimits
Action: Publish
Permissions: Zenith/OrderPad

NameTypeExpectDescription
AccountStringAlwaysThe Account to request limits for
CodeStringOptionalThe code of the Symbol we’re interested in trading. If supplied, Market must also be supplied
MarketStringOptionalThe market we’re interested in trading. If supplied, Code must also be supplied

An unordered array of Trading Limit objects.

NameTypeExpectDescription
CodeStringAlwaysThe unique code identifying this Trading Limit
ValueDecimalAlwaysThe value of this Trading Limit.

Send:

{"Controller":"Trading","Topic":"QueryLimits","TransactionID":1,"Data":{"Account":"1234[Demo]"}}

Receive:

{"Controller":"Trading","Topic":"QueryLimits","TransactionID":1,"Data":[{"Code":"TotalValue.Maximum","Value":10000}]}