Infinn API Documentation
Order and Trades

Multi Leg Order Book

POST/NorenWClientAPI/MultiLegOrderBook

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

Product name

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

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
prdH / M / ...Product name

Example

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

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
prcOrder Price
qtyOrder Quantity
prdDisplay product alias name, using prarr returned in user details.
statusOrder status
trantypeB / STransaction type of the order
prctypLMT / MKTPrice type
fillsharesTotal Traded Quantity of this order
avgprcAverage trade price of total traded quantity
rejreasonIf order is rejected, reason in text form
exchordidExchange Order Number
cancelqtyCanceled quantity for order which is in status cancelled.
remarksAny message Entered during order entry.
dscqtyOrder disclosed quantity.
trgprcOrder trigger price
retDAY / IOC / EOSOrder validity
bpprcBook Profit Price applicable only if product is selected as B (Bracket order)
blprcBook loss Price applicable only if product is selected as H and B (High Leverage and Bracket order)
trailprcTrailing Price applicable only if product is selected as H and B (High Leverage and Bracket order)
amoYes / No
ppPrice precision
tiTick size
lsLot size
tsym2Trading symbol of second leg, mandatory for price type 2L and 3L
trantype2Transaction type of second leg, mandatory for price type 2L and 3L
qty2Quantity for second leg, mandatory for price type 2L and 3L
prc2Price for second leg, mandatory for price type 2L and 3L
tsym3Trading symbol of third leg, mandatory for price type 3L
trantype3Transaction type of third leg, mandatory for price type 3L
qty3Quantity for third leg, mandatory for price type 3L
prc3Price for third leg, mandatory for price type 3L
fillshares2Total Traded Quantity of 2nd Leg
avgprc2Average trade price of total traded quantity for 2nd leg
fillshares3Total Traded Quantity of 3rd Leg
avgprc3Average trade price of total traded quantity for 3rd leg
dname2Broker specific contract display name of second leg, present only if applicable.
dname3Broker specific contract display name of third leg, present only if applicable.

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
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/MultiLegOrderBook' \
  --header 'Content-Type: text/plain' \
  --data 'jData={}'
Response will appear here after sending a request