Order
This section provided to information of API calls to do the order management i.e. place fresh order, modify or cancel already submitted valid orders. Retrieve the order and trade book. Using Order API, various type of orders Intraday, Delivery, Bracket Order, Cover order, etc. can be placed. Order type here is used as Product Type in System. Kindly refer to the respective API call for more detail.
Global Constants
Here are some of the constants enum values used for placing order.
| Param | Values (examples) |
|---|---|
| exchange (segment id) | NSE_EQ (1), NSE_FO (2), BSE_EQ (8), BSE_FO (4), MCX_FO (16), NCDEX_FO (64), NSE_CUR (2048), NSE_COMM (32768), BSE_CUR (268435456), BSE_COMM (16384), MSE_CUR (1024), NSE_OTS (536870912) |
| product_type | INTRADAY, DELIVERY, BTST, COVER, BRACKET, MTF |
| order_type | RL, RL-MKT, SL, SL-MKT |
| validity | DAY, IOC, GTD, GTC, EOS, EOSESS, EOTODY |
| order_status | PENDING, EXECUTED, CANCELLED, OMSXMITTED, OMSREJECT, ORDERERROR, ADMINREJECT, EXXMITTED, AMOACCEPTED, AMOWITHDRAWN |
📄️ Place Order
API for ADMIN to place a fresh buy or sell order, on behalf of end user.
📄️ Modify Order
API for ADMIN to modify an existing pending order, on behalf of end user.
📄️ Cancel Order
API for ADMIN to cancel an existing pending order, on behalf on end user.
📄️ Place Cover Order
Lets ADMIN place a cover order. Which means, it allows to place a market order or a limit order along with a stop loss order. on behalf of end user.
📄️ Modify Cover Order
Lets ADMIN modify an existing cover order which is pending in the order book. on behalf of end user.
📄️ Cancel Cover Order
Lets ADMIN cancel an existing cover order which is pending in the order book. on behalf of end user.
📄️ Place Bracket Order
Lets ADMIN place a bracket order. which means, ADMIN can place a Buy/sell order along with a square off order and a stop loss order. on behalf of end user.
📄️ Modify Bracket Order
Lets ADMIN modify an existing bracket order which is pending in the order book. on behalf of end user.
📄️ Exit Bracket Order
Lets ADMIN cancel an existing bracket order which is pending in the order book. on behalf of end user.
📄️ Place Multileg/Spread Order
Lets ADMIN place a multileg order/spread order. on behalf of end user.
📄️ Cancel Multileg/Spread Order
Lets ADMIN modify/cancel an existing multileg order/spread order from the order book. on behalf of end user.
📄️ Place/Modify EQSIP Order
Lets ADMIN place an EQSIP order. Once the order is placed it will also allow ADMIN to modify the same order. on behalf of end user.
📄️ Pause/Resume/Cancel EQ SIP Order
This is Pause EQ SIP Order API call
📄️ Cancel ALL EQ SIP Order
📄️ Cancel All Multileg Orders
📄️ Cancel All Orders
📄️ Square-off All Orders
📄️ Square-off
📄️ GetOrderMarginInfo
📄️ Order Book
this API is for ADMIN to get normal OrderBook data of end user.
📄️ Orders History
this API is for ADMIN to get tradebook data of end user.
📄️ Multileg Order Book
this API is for ADMIN to get multileg OrderBook data of end user.
📄️ GTD Order Book
this API is for ADMIN to get GTD orderBook data of end user.
📄️ GTD Order History
This API call is to fetch GTD Order history details
📄️ Equity SIP Order Book
📄️ Trade Book
this API is for ADMIN to get tradebook data of end user.