Infinn API Documentation
Order and Trades

Get Trade Report

POST/NorenWClientAPI/GetTradeReport

Authorization token is required. Enter your access_token from GenAcsTok above.

jData fields

Values are sent as a JSON string in the jData form field.

Account Id

From date [dd-mm-yyyy]

To date [dd-mm-yyyy]

Login users broker ID

Authorization Token

Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.

Request to be POSTed to url : /NorenWClientAPI/GetTradeReport

Request Details

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
Authorization*Bearer <access_token>access_token from GenAcsTok response. Required for all API calls.
Json FieldsPossible valueDescription
actid*Account IdAccount Id
from_date*13-06-2022From date [dd-mm-yyyy]
to_date*18-06-2022To date [dd-mm-yyyy]
brkname*Login users broker IDLogin users broker ID

Response Details

Response data will be in json format with below fields:

Json FieldsPossible valueDescription
statOk or Not_OkOrder Report success or failure indication.
norenordnoNoren Order NumberNoren Order Number
kididKid IdKid Id
statusOrder status (New, Replaced, Complete, Rejected etc)Order status (New, Replaced, Complete, Rejected etc)
rptReport Type (fill/complete etc)Report Type (fill/complete etc)
uidLogged in User IdLogged in User Id
actidAccount Id of logged in userAccount Id of logged in user
tokenContract tokenContract token
cnameCompany NameCompany Name
symnameSymbol NameSymbol Name
instnameInstrument NameInstrument Name
exchNSE, BSE, NFO ...Exchange
segSegmentSegment
opttOption TypeOption Type
isinISINISIN
lsLot SizeLot Size
tsymTrading symbolTrading symbol
ordersourceMOB / WEB / TTUsed to generate exchange info fields.
trantypeTransaction typeTransaction type
prctypPrice TypePrice Type
retOrder retention type (DAY, EOS, IOC,...)Order retention type (DAY, EOS, IOC,...)
prdH / M / ...Product name
s_prdt_aliProduct display nameProduct display name
qtyOrder QuantityOrder Quantity
prcOrder PriceOrder Price
norentmNoren time stampNoren time stamp
exchordidExchange Order NumberExchange Order Number
rejreasonOrder rejection reason, if rejectedOrder rejection reason, if rejected
cancelqtyCanceled quantity for order which is in status cancelled.Canceled quantity for order which is in status cancelled.
brknameLogin users broker IDLogin users broker ID
brnchidBranch IdBranch Id
fillsharesTotal Traded Quantity of this orderTotal Traded Quantity of this order
flprcFill PriceFill Price
trgprcOrder trigger priceOrder trigger price
avgprcAverage trade price of total traded quantityAverage trade price of total traded quantity
strprcStrike PriceStrike Price
tiTick SizeTick Size
flqtyFill QuantityFill Quantity
prcftr_d((GN / GD) * (PN/PD)) (actual value for calculations)((GN / GD) * (PN/PD)) (actual value for calculations)
tsym2Trading symbol of second legTrading symbol of second leg
trantype2Transaction type of second legTransaction type of second leg
tsym3Trading symbol of third legTrading symbol of third leg
trantype3Transaction type of third legTransaction 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"
}
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/GetTradeReport' \
  --header 'Content-Type: text/plain' \
  --data 'jData={}'
Response will appear here after sending a request