Skip to main content

Multi Leg Order Book

Request to be POSTed to uri : /NorenWClientTP/MultiLegOrderBook

Request Details :

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
uid*Logged in User Id
prdH / M / ...Product name

Example:

curl https://apitest.kambala.co.in/NorenWClientTP/MultiLegOrderBook \
-d "jData={\"uid\":\"VIDYA\"}“ \
-d “jKey=GHUDWU53H32MTHPA536Q32WR”

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
uidLogged in User Id
actidLogin users account ID
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