trade29.sc.commands.OrderStatusResponse#
- class trade29.sc.commands.OrderStatusResponse(request, response)#
A response containing information on an order’s status.
See the Sierra Chart docs for more info.
Attributes
request_id
(int) The request ID associated with this response.
request
(MarketDepthRequest) The request passed through the
SCBridge
to get this response.rdata
(dict) The raw data from the T29-SC-dX DLL as a dictionary.
order_id
(int) The ID of te order.
order_status_code
(
OrderStatusCode
) The current status of the order.quantity
(float) The quantity of the order.
price1
(float) This is the price of the order. This applies to all order types that are not Market orders.
price2
(float) In the case of Stop-Limit orders, this is the Limit order price. For Stop-Limit orders, the Stop price is specified with Price1.
average_fill_price
(float) The average fill price of this order. In the case where it never filled the average fill price is 0.