Skip to content

Get Trade Report

Request to be POSTed to uri : /NorenWClientTP/GetTradeReport

Request Details

Parameter Name Possible value Description
jData* Should send json object with fields in below list
Json Fields Possible value Description
actid* Account Id Account Id
from_date* 13-06-2022 From date [dd-mm-yyyy]
to_date* 18-06-2022 To date [dd-mm-yyyy]
brkname* Login users broker ID Login users broker ID

Response Details

Response data will be in json format with below fields:

Json Fields Possible value Description
stat Ok or Not_Ok Order Report success or failure indication.
norenordno Noren Order Number Noren Order Number
kidid Kid Id Kid Id
status Order status (New, Replaced, Complete, Rejected etc) Order status (New, Replaced, Complete, Rejected etc)
rpt Report Type (fill/complete etc) Report Type (fill/complete etc)
uid Logged in User Id Logged in User Id
actid Account Id of logged in user Account Id of logged in user
token Contract token Contract token
cname Company Name Company Name
symname Symbol Name Symbol Name
instname Instrument Name Instrument Name
exch NSE, BSE, NFO ... Exchange
seg Segment Segment
optt Option Type Option Type
isin ISIN ISIN
ls Lot Size Lot Size
tsym Trading symbol Trading symbol
ordersource MOB / WEB / TT Used to generate exchange info fields.
trantype Transaction type Transaction type
prctyp Price Type Price Type
ret Order retention type (DAY, EOS, IOC,...) Order retention type (DAY, EOS, IOC,...)
prd H / M / ... Product name
s_prdt_ali Product display name Product display name
qty Order Quantity Order Quantity
prc Order Price Order Price
norentm Noren time stamp Noren time stamp
exchordid Exchange Order Number Exchange Order Number
rejreason Order rejection reason, if rejected Order rejection reason, if rejected
cancelqty Canceled quantity for order which is in status cancelled. Canceled quantity for order which is in status cancelled.
brkname Login users broker ID Login users broker ID
brnchid Branch Id Branch Id
fillshares Total Traded Quantity of this order Total Traded Quantity of this order
flprc Fill Price Fill Price
trgprc Order trigger price Order trigger price
avgprc Average trade price of total traded quantity Average trade price of total traded quantity
strprc Strike Price Strike Price
ti Tick Size Tick Size
flqty Fill Quantity Fill Quantity
prcftr_d ((GN / GD) * (PN/PD)) (actual value for calculations) ((GN / GD) * (PN/PD)) (actual value for calculations)
tsym2 Trading symbol of second leg Trading symbol of second leg
trantype2 Transaction type of second leg Transaction type of second leg
tsym3 Trading symbol of third leg Trading symbol of third leg
trantype3 Transaction type of third leg Transaction type of third leg

Sample Success Response

[
{
"stat":"Ok",
"norenordno":"22061700002476",
"kidid":"1",
"status":"COMPLETE",
"rpt":"Fill",
"uid":"NARESHDEL",
"actid":"NTEST2",
"token":"3435",
"cname":"NULL",
"symname":"BBOX",
"instname":"EQ",
"exch":"NSE",
"seg":"EQT",
"optt":"NULL",
"isin":"NULL",
"ls":"1",
"tsym":"BBOX-EQ",
"ordersource":"TT",
"trantype":"B",
"prctyp":"LMT",
"ret":"DAY",
"prd":"I",
"qty":"10",
"prc":"inf",
"norentm":"17:08:09 17-06-2022",
"exchordid":"81",
"rejreason":"NULL",
"cancelqty":"0",
"brkname":"KSPL",
"brnchid":"MANGALORE",
"fillshares":"10",
"flprc":"inf",
"trgprc":"-nan",
"flqty":"10",
"avgprc":"inf",
"strprc":"-nan",
"ti":"inf",
"prcftr_d":"(0 / 0 ) * (0 / 0)",
"tsym2":"BBOX-EQ",
"trantype2":"NULL",
"tsym3":"BBOX-EQ",
"trantype3":"NULL"
}
]

Sample Failure Response

{
"stat":"Not_Ok",
"emsg":"Invalid Input : Invalid Position Type"
}