Skip to content

Trading:RequestQuote

Requests a quotation for a Symbol.

Successful completion of this action does not mean the Quote is on the Market, only that the request has been acknowledged.

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

NameTypeExpectDescription
MarketStringAlwaysThe Market to request the Quote from.
CodeStringAlwaysThe code of the Symbol to quote
SideStringOptionalThe side of the market to request a quote on. If omitted, makes a request for both sides. One of the following values:
Bid: request a buy quotation.
Ask: request a sell quotation.
QuantityDecimalOptionalThe size of the desired quotation. If omitted, the resulting quotation size is decided by the Market Maker.
FlagsArrayOptionalAn array of string flags. See Appendix F: Order Flags for more information
NameTypeExpectDescription
ResultStringAlwaysThe result of the operation. One of the following values:
Success: Request successful.
Incomplete: Required fields are missing.
Invalid: The supplied fields are invalid.
Rejected: The order was rejected by the Exchange
ErrorsArrayOptionalIf cancellation failed, supplies an array of string codes identifying the errors encountered. See Appendix E: Order Error Codes for more information

Send:

{"Controller":"Trading","Topic":"RequestQuote","TransactionID":1,"Data":{"Market":"ASX[Demo]","Code":"BHPB18"}}

Receive:

{"Controller":"Trading","Topic":"RequestQuote","TransactionID":1,"Data":{"Result":"Success"}}