Trading:CalculatePlaceOrder
Calculates an Order being placed
Controller: Trading
Topic: CalculateOrder
Action: Publish
Permissions: Zenith/OrderPad
Request
Section titled “Request”See the PlaceOrder query for the request object structure
Response
Section titled “Response”See the PlaceOrder query for the output object structure. A result of success means the Order’s value and brokerage could be calculated, but does not guarantee it can be placed.
Example
Section titled “Example”Send:
{ "Controller":"Trading", "Topic":"CalculateOrder", "TransactionID":1, "Data": { "Account":"1234[Demo]", "Details": { "Exchange":"ASX[Demo]", "Code":"BHP", "Style":"Equity", "Side":"Bid", "Quantity":100, "Type":"MarketToLimit" }, "Route": { "Algorithm":"Market", "Market":"CXA::LI[Demo]" } }}