Skip to content

Market:QueryBrokers

Retrieves the valid Broker Codes for a particular Market

Controller: Market
Topic: QueryBrokers
Action: Publish
Permissions: None

NameTypeExpectDescription
MarketStringAlwaysThe code for the Market to query brokers for. Must be a top-level Market, cannot be Mixed

An unordered array of Trading State objects

NameTypeExpectDescription
CodeStringAlwaysThe text code for this Broker. Corresponds to the Broker property on a Depth Order and BuyBroker/SellBroker on a Trade
NameStringOptionalThe friendly name of this Broker, if available
IDIntegerOptionalA numeric identifier for this Broker, if available

Send:

{"Controller":"Market","Topic":"QueryBrokers","TransactionID":1,"Data":{"Market":"ASX"}}

Receive:

{
"Controller":"Market",
"Topic":"QueryBrokers",
"Data":
[
{"Code":"EurSec", "Name":"Euroz Securities Limited","ID":102},
{"Code":"MFGSec", "Name":"MF Global Securities Australia Ltd","ID":104},
...
{"Code":"VivCrt", "Name":"Vivienne Court Trading Pty Ltd","ID":988}
],
"TransactionID":1
}