DESCRIPTION
Allows you to modify open orders in orderbook.
URL
<protocol>://<domain name>/ kb/PlaceOrders/ModifyOpenOrders
INPUT
S no. | Parameter | Description | Mandatory/Comments |
---|---|---|---|
1 | Uid | User Id | Yes |
2 | Exch | Exchange
Possible Value: NSE, NFO, BSE, MCX, CDS, NCX, BFO, and BCD. |
Yes |
3 | Norenordno | Order number | Yes |
4 | Prctyp | Price Type Possible values: LMT (Limit) MKT (Market) SL LMT (Stop Loss Limit) SL-MKT (Stop Loss Market) |
No |
5 | Prc | Order Price refers to Price at which order is placed. | No |
6 | Qty | Order Quantity. | Yes |
7 | Tysm | Trading Symbol refer here | No |
8 | Ret | Order Validity.
Possible Values: DAY IOC EOS |
No |
9 | Mkt_Protection | Market order protection percentage. Applicable only for MKT orders in BSE/BFO/BCS and MCX segments. | No |
10 | Trgprc | Order Trigger Price refers to a Price at which the order is triggered,in case of SL-M & SL-L. | No |
11 | bpprc | Book Profit Price ,applicable only if product is selected as B (Bracket order). | No |
12 | blprc | Book loss price ,applicable only if product is selected as H and B(High Leverage and Bracket order) | No |
13 | trailprc | Trailing price refers to the most recent price of a stock,applicable only if product is selected as H and B(High Leverage and Bracket order) | No |
14 | Dscqty | Disclosed quantity (Max 10% for NSE, and 50% for MCX). | No |
SAMPLE
{
"Uid": "DEMO",
"Exch": "NSE",
"norenordno": "22072800000041",
"Prctyp": "MKT",
"Prc": "0",
"Qty": "1000",
"Tsym": "RELIANCE-EQ",
"Ret": "DAY",
"Mkt_Protection": null,
"Trgprc": null,
"bpprc": null,
"blprc": null,
"trailprc": null,
"Dscqty": "0"
}
RESPONSE
S No. | Parameter | Description |
---|---|---|
1 | ResponseId | Response Id |
2 | ResponseMessage | Response Message |
3 | Data | It contains the data of the response, such as the status of the request, request time, etc. |
DATA
S.No. | Parameter | Description |
---|---|---|
1 | Stat | Status, Possible Value: 'Ok', 'Not_Ok' |
2 | Request_time | Response received time. |
4 | Emsg | Message is a small remark,this will be present only if Order cancelation fails |
SAMPLE
{
"StatusCode": 200,
"Message": "Request successful.",
"IsError": false,
"ResponseException": null,
"Result": {
"ResponseId": 1,
"ResponseMessage": null,
"Data": {
"Stat": "Ok",
"Request_time": "15:18:34 09-08-2022",
"result": "22072800000041",
"Emsg": null
}
}
}