Request to be POSTed to uri : /NorenWClientTP/MultiLegOrderBook
Request Details
| Parameter Name |
Possible value |
Description |
| jData* |
|
Should send json object with fields in below list |
| jKey* |
|
Key Obtained on login success. |
| Json Fields |
Possible value |
Description |
| uid* |
|
Logged in User Id |
| prd |
H / M / ... |
Product name |
Example
curl https://api.infinn.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 Fields |
Possible value |
Description |
| stat |
Ok or Not_Ok |
Order book success or failure indication. |
| exch |
|
Exchange Segment |
| tsym |
|
Trading symbol / contract on which order is placed. |
| norenordno |
|
Noren Order Number |
| prc |
|
Order Price |
| qty |
|
Order Quantity |
| prd |
|
Display product alias name, using prarr returned in user details. |
| status |
|
Order status |
| trantype |
B / S |
Transaction type of the order |
| prctyp |
LMT / MKT |
Price type |
| fillshares |
|
Total Traded Quantity of this order |
| avgprc |
|
Average trade price of total traded quantity |
| rejreason |
|
If order is rejected, reason in text form |
| exchordid |
|
Exchange Order Number |
| cancelqty |
|
Canceled quantity for order which is in status cancelled. |
| remarks |
|
Any message Entered during order entry. |
| dscqty |
|
Order disclosed quantity. |
| trgprc |
|
Order trigger price |
| ret |
DAY / IOC / EOS |
Order validity |
| uid |
|
|
| actid |
|
|
| bpprc |
|
Book Profit Price applicable only if product is selected as B (Bracket order) |
| blprc |
|
Book loss Price applicable only if product is selected as H and B (High Leverage and Bracket order) |
| trailprc |
|
Trailing Price applicable only if product is selected as H and B (High Leverage and Bracket order) |
| amo |
|
Yes / No |
| pp |
|
Price precision |
| ti |
|
Tick size |
| ls |
|
Lot size |
| token |
|
Contract Token |
| tsym2 |
|
Trading symbol of second leg, mandatory for price type 2L and 3L |
| trantype2 |
|
Transaction type of second leg, mandatory for price type 2L and 3L |
| qty2 |
|
Quantity for second leg, mandatory for price type 2L and 3L |
| prc2 |
|
Price for second leg, mandatory for price type 2L and 3L |
| tsym3 |
|
Trading symbol of third leg, mandatory for price type 3L |
| trantype2 |
|
Transaction type of third leg, mandatory for price type3L |
| qty3 |
|
Quantity for third leg, mandatory for price type 3L |
| prc3 |
|
Price for third leg, mandatory for price type 3L |
| fillshares2 |
|
Total Traded Quantity of 2nd Leg |
| avgprc2 |
|
Average trade price of total traded quantity for 2nd leg |
| fillshares3 |
|
Total Traded Quantity of 3rd Leg |
| avgprc3 |
|
Average trade price of total traded quantity for 3rd leg |
Response data will be in json format with below fields in case of failure:
| Json Fields |
Possible value |
Description |
| stat |
Not_Ok |
Order book failure indication. |
| request_time |
|
Response received time. |
| emsg |
|
Error message |