Order Modify
Last updated
Last updated
API for order modification allows users to alter an open or pending order by providing the order and any optional parameters needing adjustment if there is no opI to place an order to the exchange.
Endpoint
Name | Value |
---|---|
Parameter | Value | Mandatory | Remarks |
---|---|---|---|
Response
Response Parameter
Parameter | Description |
---|---|
Content-Type
application/json
Authorization
Bearer <token>
txn_type
B/S
Y
Transaction Type
exchange
NSE
Y
The exchange where the transacti takes place it can be NSE/BSE
segment
E
Y
The market segment where E might stands for "Equity"
product
I
Y
The Product Type is Intraday
security_id
14366
Y
The unique identifier for the security being trade.
quantity
1
Y
Non-zero integer value
price
0.00
Y
Float value, cannot be zero when ORDER_TYPE is LMT/SL
validity
DAY
Y
The validity of the order indicate it is valid for the day
order_type
MKT
Y
The type of order, where "MKT" stands for a market order.
disc_quantity
0
N
The disclosed quantity of the order.
trigger_price
0.00
N
The price at which a stop order is triggered. "0.00" indicates no stop price.
off_mkt_flag
true
Y
true for aftermarket order, false for normal order
remarks
502929
N
Additional remarks or reference number for the transaction.
mkt_type
NL
Y
Default value is NL
good_till_days_date
2019-03-29 (yyyy-MM-dd)
N
Mandatory when validity is GTD
encash_flag
1
N
Mandatory when using different AMO schedules
order_no
1234567890
Y
Order number
serial_no
1
Y
Serial number
group_id
1
Y
Group Id
ip
192.168.0.101
Y
IP address of client device
uu_id
12345678
Y
This random ID is to be generated and persisted on a device when a user installs or initializes the app (Mobile or EXE) for the first time
app_id
12345678
Y
App ID of client device
Status
“success”
Message
“Some Message”
Data
An object containing the details of the order.
order_no
Order specific identification number.