DESCRIPTION
Allows you to get trade book list
URL
<protocol>://<domain name>/kb/TradeBook/GetTradeBookList
INPUT
S.No. | Parameter | Description | Mandatory/Comments |
---|---|---|---|
1 | Uid | User Id | Yes |
2 | Actid | Account Id(Same as User Id) | Yes |
SAMPLE
{
"Uid": "DEMO",
"Actid": "DEMO"
}
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 Values: 'Ok' , 'Not_Ok' . |
2 | Exch | Exchange, Possible: NSE , NFO, BSE, MCX, CDS, NCX, BFO, and BCD. |
3 | Tsym | Trading Symbol,refer here. |
4 | Norenordno | Order Number |
5 | Qty | Order Quantity |
6 | Prd | Product Name is basically the type of product you're ordering. Possible Values : C: Delivery M: Margin H: Cover Order I: Intraday B: Bracket Order F: MTF |
7 | Trantype | Transaction Type, Possible Values: B - Buy, S - Sell |
8 | Prctyp | Price Type Possible values: LMT (Limit) MKT (Market) SL LMT (Stop Loss Limit) SL-MKT (Stop Loss Market) |
9 | Fillshares | Total traded quantity |
10 | Avgprc | Average trade price |
11 | Exchordid | Exchange order ID |
12 | Remarks | Remarks refer to any additional message. |
13 | Ret | Order validity. Possible Values: DAY IOC EOS |
14 | Uid | User Id |
15 | Actid | Account Id |
16 | Pp | Price precision |
17 | Ti | Tick size,refer here |
18 | Ls | Lot size,refer here |
19 | CstFrm | Custom Firm |
20 | Fltm | Fill Time |
21 | Flid | Fill Id |
22 | Flqty | Fill Qty |
23 | Flprc | Fill price |
24 | Ordersource | Order Source |
25 | Token | Token |
26 | Norentm | Noren time |
27 | Exch_tm | Exchange update time |
28 | Snoordt | 0 for profit leg and 1 for stoploss leg |
29 | Snonum | This field will be present for product H and B; and only if it is profit/sl order |
30 | Request_time | Response received time |
31 | Emsg | Error message |
SAMPLE
{
"StatusCode": 200,
"Message": "Request successful.",
"IsError": false,
"ResponseException": null,
"Result": {
"ResponseId": 1,
"ResponseMessage": "",
"Data": [
{
"Stat": "Ok",
"Exch": "NSE",
"Tsym": "BSE-EQ",
"Norenordno": "22082900000068",
"Qty": "1",
"Prd": "I",
"Trantype": "B",
"Prctyp": "LMT",
"Fillshares": "1",
"Avgprc": null,
"Exchordid": "13",
"Remarks": "",
"Ret": "DAY",
"Uid": "OHO0187",
"Actid": "OHO0187",
"Pp": "2",
"Ti": "0.05",
"Ls": "1",
"CstFrm": null,
"Fltm": "29-08-2022 16:24:22",
"Flid": "114",
"Flqty": "1",
"Flprc": "750.00",
"Ordersource": null,
"Token": "19585",
"Norentm": "16:24:22 29-08-2022",
"Exch_tm": "29-08-2022 16:24:22",
"Snoordt": null,
"Snonum": null
},
{
"Stat": "Ok",
"Exch": "NSE",
"Tsym": "BSE-EQ",
"Norenordno": "22082900000071",
"Qty": "1",
"Prd": "I",
"Trantype": "S",
"Prctyp": "LMT",
"Fillshares": "1",
"Avgprc": null,
"Exchordid": "16",
"Remarks": "",
"Ret": "DAY",
"Uid": "OHO0187",
"Actid": "OHO0187",
"Pp": "2",
"Ti": "0.05",
"Ls": "1",
"CstFrm": null,
"Fltm": "29-08-2022 16:24:22",
"Flid": "113",
"Flqty": "1",
"Flprc": "750.00",
"Ordersource": null,
"Token": "19585",
"Norentm": "16:24:22 29-08-2022",
"Exch_tm": "29-08-2022 16:24:22",
"Snoordt": null,
"Snonum": null
}
]
}
}