Skip to main content

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, 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.

ParamValues (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_typeINTRADAY, DELIVERY, BTST, BRACKET, MTF
order_typeRL, RL-MKT, SL, SL-MKT
validityDAY, IOC, GTD, GTC, EOS, EOSESS, EOTODY
order_statusPENDING, EXECUTED, CANCELLED, OMSXMITTED, OMSREJECT, ORDERERROR, ADMINREJECT, EXXMITTED, AMOACCEPTED, AMOWITHDRAWN