Skip to content

Standard State Data

NameTypePurpose
accountobjectInformation on the target Trading Account.
balanceobjectThe cash balance available to the Trading Account.
detailsobjectDetails of the incoming Order request.
holdingobjectInformation on any Holdings for the target Symbol.
marketobjectInformation relating to the target Symbol’s market state.
orderobjectInformation on the Order the request relates to.
requestobjectInformation relating to the incoming request.
symbolobjectInformation relating to the target Symbol.
userobjectDetails of the user submitting the request.
{
"account":{...},
"balance":{...},
"details":{...},
"holding":{...},
"market":{...},
"order":{...},
"request":{...},
"symbol":{...},
"user":{...}
}

Information on the target Trading Account.

Included on all requests.

NameTypePurpose
idstringThe identifier of the Trading Account.
"account":
{
"id":"1234"
}

The cash balance available to the Trading Account.

Included on all requests.

NameTypePurpose
amountdecimalThe available amount.
currencystringThe currency code being traded.
"balance":
{
"amount":12000.50,
"currency":"AUD"
}

Details of the incoming Order request.

Included on Place and Amend requests.

NameTypePurpose
hiddenintegerThe hidden quantity.
pricedecimalThe limit price. Can be null.
typestringThe type of the Order. One of the following values: Market, MarketToLimit, Limit.
visibleintegerThe visible quantity.
"details":
{
"hidden":0,
"price":12.75,
"type":"Limit",
"visible":100
}

Details of the current Holding, if any.

Included on all requests, if a holding exists.

NameTypePurpose
availableintegerThe total quantity available for trading.
costdecimalThe total cost of the Holding.
pricedecimalThe average price of the Holding.
quantityintegerThe total quantity held.
"holding":
{
"price":12.75,
"quantity":1000
}

Information relating to the target Symbol’s market state.

Included on all requests.

NameTypePurpose
bestaskdecimalThe best ask price. Can be null.
bestbiddecimalThe best bid price. Can be null.
lastdecimalThe last traded price. Can be null.
"market":
{
"bestask":12.50,
"bestbid":null,
"last":12.60
}

Information on the Order the request relates to.

Included on Amend and Cancel requests.

NameTypePurpose
executedintegerThe total quantity executed.
pricedecimalThe average price of the Order thus far.
quantityintegerThe total quantity held.
"order":
{
"executed":10,
"price":12.75,
"quantity":100
}

Information relating to the incoming request.

Included on all requests.

NameTypePurpose
idstringA unique identifier for the request.
typestringThe type of request. One of the following: Place, Amend, Cancel.
timedatetimeThe time the request was submitted.
"request":
{
"id":"12AB34CD-190",
"type":"Place",
"time":"2019-01-01T12:00:30"
}

Information relating to the target Symbol.

Included on all requests.

NameTypePurpose
classstringThe high-level Symbol class.
codestringThe exchange-issued code for the Symbol.
exchangestringThe identifier of the exchange the Symbol is issued by.
marketstringThe identifier of the market the Symbol is listed on (where the Order will be routed to).
"symbol":
{
"code":"BHP",
"exchange":"ASX",
"market":"CXA"
}

Details of the user submitting the request.

Included on all requests.

NameTypePurpose
idstringThe unique identifier of the submitting user.
"user":
{
"id":"12345"
}