Infinn API Documentation
Order and Trades

Trade Book

POST/NorenWClientAPI/TradeBook

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.

Logged in User Id

Account Id of logged in user

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/TradeBook

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
uid*Logged in User Id
actid*Account Id of logged in user

Example

curl https://apitest.kambala.co.in/NorenWClientAPI/TradeBook \
    -d "jData={\"uid\":\"VIDYA\", \"actid\":\"DEMO1\"}"

Response Details

Response data will be in json Array of objects with below fields in case of success:

Json FieldsPossible valueDescription
statOk or Not_OkOrder book success or failure indication.
exchExchange Segment
tsymTrading symbol / contract on which order is placed.
norenordnoNoren Order Number
qtyOrder Quantity
prdDisplay product alias name, using prarr returned in user details.
s_prdt_aliProduct display name
trantypeB / STransaction type of the order
prctypLMT / MKTPrice type
fillsharesTotal Traded Quantity of this order
avgprcAverage trade price of total traded quantity
exchordidExchange Order Number
remarksAny message Entered during order entry.
retDAY / IOC / EOSOrder validity
uid
actid
ppPrice precision
tiTick size
lsLot size
cstFrmCustom Firm
fltmFill Time
flidFill ID
flqtyFill Qty
flprcFill Price
ordersourceOrder Source
tokenToken
norentmNoren time stamp
exch_tmExchange update time
snoordt0 / 10 for profit leg and 1 for stoploss leg
snonumThis field will be present for product H and B; and only if it is profit/sl order.
multMultiplier

Response data will be in json format with below fields in case of failure:

Json FieldsPossible valueDescription
statNot_OkOrder book failure indication.
request_timeResponse received time.
emsgError message

Sample Success Output

[
    {
        "stat": "Ok",
        "norenordno": "20121300065715",
        "uid": "GURURAJ",
        "actid": "GURURAJ",
        "exch": "NSE",
        "prctyp": "LMT",
        "ret": "DAY",
        "prd": "M",
        "flid": "102",
        "fltm": "01-01-1980 00:00:00",
        "trantype": "S",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "token": "7053",
        "fillshares": "180",
        "flqty": "180",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "flprc": "800.00",
        "norentm": "19:59:32 13-12-2020",
        "exch_tm": "01-01-1980 00:00:00",
        "remarks": "WC TEST Order",
        "exchordid": "6857"
    },
    {
        "stat": "Ok",
        "norenordno": "20121300065716",
        "uid": "GURURAJ",
        "actid": "GURURAJ",
        "exch": "NSE",
        "prctyp": "LMT",
        "ret": "DAY",
        "prd": "M",
        "flid": "101",
        "fltm": "01-01-1980 00:00:00",
        "trantype": "B",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "token": "7053",
        "fillshares": "180",
        "flqty": "180",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "flprc": "800.00",
        "norentm": "19:59:32 13-12-2020",
        "exch_tm": "01-01-1980 00:00:00",
        "remarks": "WC TEST Order",
        "exchordid": "6858"
    }
]
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/TradeBook' \
  --header 'Content-Type: text/plain' \
  --data 'jData={}'
Response will appear here after sending a request