PlaceOrderRequest (Class)

This page describes the PlaceOrderRequest class

PlaceOrderRequest class defines properties for placing an order.

PropertyProperty TypeDescription
TimestampDateTimeTimestamp during placing the order.
ValidityStringValidity of the order. Valid values are DAY and GTC. DAY specifies that the order should be active till the end of the day. GTC specifies that the order should be active till it is cancelled or completed.
SymbolSymbolSymbol object for which the order is being placed.
TradeExchangeTradeExchangeTrade Exchange on which the order has to be placed.
OrderTypeOrderTypeOrder type enum value like Market, Limit, etc.,
Only Market & Limit order types are functional currently. Will update here when other order types are functional.
OrderDirectionOrderDirectionDirection of the Order like Buy, Sell.
OrderProductTypeOrderProductTypeOrder product type like Normal, Intraday, etc.,
TagTagUnique value that your strategy can attach to the order, to identify it uniquely in the order update events.
QuantityQuantityQuantity of the stock for the Order.
PricePricePrice at which the order has to be completed. This is applicable for order type other than Market order.
TriggerPriceTriggerPricePrice at which the order has to be active in the market. This is applicable for order type other than Market order.
ValidTillTimeDateTimeTime of the day till which an order is valid. Applicable only to Intraday Limit orders.