PlaceOrderRequest (Class)
This page describes the PlaceOrderRequest class
PlaceOrderRequest class defines properties for placing an order.
Property | Property Type | Description |
---|---|---|
Timestamp | DateTime | Timestamp during placing the order. |
Validity | String | Validity 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. |
Symbol | Symbol | Symbol object for which the order is being placed. |
TradeExchange | TradeExchange | Trade Exchange on which the order has to be placed. |
OrderType | OrderType | Order type enum value like Market, Limit, etc., Only Market & Limit order types are functional currently. Will update here when other order types are functional. |
OrderDirection | OrderDirection | Direction of the Order like Buy, Sell. |
OrderProductType | OrderProductType | Order product type like Normal, Intraday, etc., |
Tag | Tag | Unique value that your strategy can attach to the order, to identify it uniquely in the order update events. |
Quantity | Quantity | Quantity of the stock for the Order. |
Price | Price | Price at which the order has to be completed. This is applicable for order type other than Market order. |
TriggerPrice | TriggerPrice | Price at which the order has to be active in the market. This is applicable for order type other than Market order. |
ValidTillTime | DateTime | Time of the day till which an order is valid. Applicable only to Intraday Limit orders. |
Updated almost 3 years ago
What’s Next