You can place a regular order with the placeOrder API. All the parameters that needs to be passed are listed below. An instrument token will be required to place the order, to get the instrument token you can download the given CSV file. To place a regular order, feed the execution_type parameter as ‘REGULAR’.
Name of the exchange where the order is being placed. Possible values include NSE, BSE, NFO, MCX.
instrument_token
String
The unique ID of the financial instrument.
client_id
String
The unique ID of the user placing the order.
order_type
String
The type of order being placed. Possible values are LIMIT, SL.
amo
Boolean
Indicates whether the order is an After Market Order (AMO). It can be either true or false.
price
Float
The price at which the order should be executed. If order_type is LIMIT, the value must be greater than 0 and represents the specified limit price at which the order will be executed.
quantity
Integer
The total quantity of the financial instrument to be traded.
disclosed_quantity
Integer
The quantity of the order that is hidden from the market.
validity
String
The validity of the order. Possible values are DAY (valid until the end of the trading day) or IOC (Immediate or Cancel).
product
String
The type of product being traded. Possible values are CNC (Cash and Carry), MIS (Margin Intraday Square off), NRML (Normal).
order_side
String
Indicates whether it’s a buy or sell order. Possible values are BUY or SELL.
device
String
The device from which the order is being placed. Possible values are Web or Mobile.
user_order_id
Integer
The unique order ID generated by the user.
trigger_price
Float
The specified activation threshold for Stop Loss (SL) or Stop Loss Market (SLM) orders.
execution_type
String
The execution type of the order, which is typically REGULAR for regular orders.