DESCRIPTION
Allow to get script information
URL
<protocol>://<domain name>/kb/PlaceOrders/GetSecurityInfo
INPUT
S.No. | Parameter | Description | Mandatory/Comments |
---|---|---|---|
1 | Uid | User Id/Client Code | Yes |
2 | Exch | Exchange | Yes |
3 | Token | Scrip Token | Yes |
SAMPLE
{
"Uid": "DEMO",
"Exch": "CDS",
"Token": "9573"
}
RESPONSE
S.No. | Parameter | Description |
---|---|---|
1 | ResponseId | Response Id of generated response. |
2 | ResponseMessage | Response Message |
3 | Data | It contains the data of the response, such as the status of the request, request time, etc. |
DATA
S.No. | Parameter | Description |
---|---|---|
1 | Stat | Status of your request(Success->Ok /Failure->Not_Ok) |
2 | Request_time | Request time of your request |
3 | Exch | Exchange |
4 | Tsym | Trading Symbol |
5 | Cname | Company Name |
6 | Symnam | Symbol Name |
7 | Seg | Segment |
8 | Exd | Expiry Date |
9 | Instname | Instrument Name |
10 | Strprc | Strike Price |
11 | Optt | Option Type |
12 | Isin | ISIN |
13 | Ti | Tick Size |
14 | Ls | Lot Size |
15 | Pp | Price precision |
16 | Mult | Multiplier |
17 | Gp_nd | gn/gd * pn/pd (text format) |
18 | Prcunt | Price Units |
19 | Prcqqty | Price Quote Qty |
20 | Trdunt | Trade Units |
21 | Delunt | Delivery Units |
22 | Frzqty | Freeze Qty |
23 | Gsmind | Scripupdate Gsm Ind |
24 | Elmbmrg | Elm Buy Margin |
25 | Elmsmrg | Elm Sell Margin |
26 | Addbmrg | Additional Long Margin |
27 | Addsmrg | Additional Short Margin |
28 | Splbmrg | Special Long Margin |
29 | Splsmrg | Special Short Margin |
30 | Delmrg | Delivery Margin |
31 | Tenmrg | Tender Margin |
32 | Tenstrd | Tender Start Date |
33 | Tenendd | Tender End Date |
34 | Exestrd | Exercise Start Date |
35 | Exeendd | Exercise End Date |
36 | Mkt_t | Market type |
37 | Issue_d | Issue date |
38 | Listing_d | Listing date |
39 | Last_trd_d | Last trading date |
40 | Elmmrg | Elm Margin |
41 | Varmrg | Var Margin |
42 | Expmrg | Exposure Margin |
43 | Token | Contract Token |
44 | Prcftr_d | ((GN / GD) * (PN/PD)) (actual value for calculations) |
45 | Weekly | Weekly Option, 'W1', 'W2', 'W3', 'W4' th week |
46 | Nontrd | Non tradable instruments |
47 | Prcftr | Price Factor |
48 | Emsg | Error Message |
SAMPLE
{
"StatusCode": 200,
"Message": "Request successful.",
"IsError": false,
"ResponseException": null,
"Result": {
"ResponseId": 1,
"ResponseMessage": "Executed successfully",
"Data": {
"Request_time": "18:54:43 21-07-2022",
"Stat": "Ok",
"Exch": "CDS",
"Tsym": "USDINR22JUL22C80.25",
"Cname": null,
"Symnam": null,
"Seg": "FX",
"Exd": "22-JUL-2022",
"Instname": "OPTCUR",
"Strprc": "80.2500",
"Optt": "CE",
"Isin": null,
"Ti": "0.0025",
"Ls": "1",
"Pp": "4",
"Mult": "1000",
"Gp_nd": null,
"Prcunt": null,
"Prcqqty": null,
"Trdunt": null,
"Delunt": null,
"Frzqty": "10001",
"Gsmind": null,
"Elmbmrg": null,
"Elmsmrg": null,
"Addbmrg": null,
"Addsmrg": null,
"Splbmrg": null,
"Splsmrg": null,
"Delmrg": null,
"Tenmrg": null,
"Tenstrd": null,
"Tenendd": null,
"Exestrd": null,
"Exeendd": null,
"Mkt_t": null,
"Issue_d": null,
"Listing_d": null,
"Last_trd_d": null,
"Elmmrg": null,
"Varmrg": null,
"Expmrg": "1.50",
"Token": "9573",
"Prcftr_d": "(1 / 1 ) * (1 / 1)",
"Weekly": "W4",
"Nontrd": null,
"Prcftr": "1.000000",
"Emsg": null
}
}
}
DESCRIPTION
Allow to Multiple Square Off Order
URL
<protocol>://<domain name>/kb/PlaceOrders/SquareOffOrder
INPUT
S.No. | Parameter | Description | Mandatory/Comments |
---|---|---|---|
1 | Uid | User Id/Client Code | Yes |
2 | SqOffOrderReq | Yes |
DATA
S.No. | Parameter | Description |
---|---|---|
1 | Exch | Exchange |
2 | Tsym | Unique id of contract on which order to be placed. |
3 | Qty | Order Quantity |
4 | Prd | Product name |
5 | Trantype | Transaction type (B -> BUY, S -> SELL) |
SAMPLE
{
"Uid": "DEMO",
"SqOffOrderReq": [
{
"Exch": "BSE",
"Tsym": "ASIANTNE",
"Qty": "1",
"Trantype": "S",
"Prd": "I"
},
{
"Exch": "NFO",
"Tsym": "APOLLOTYRE25AUG22P200",
"Qty": "1",
"Trantype": "S",
"Prd": "M"
}
]
}
RESPONSE
S No. | Parameter | Description |
---|---|---|
1 | TotalRows | Number of rows in list |
2 | Data | It contains the data of the response, such as the status of the request, request time, etc. |
DATA
S.No. | Parameter | Description |
---|---|---|
1 | ResponseId | Response Id of generated response |
2 | ResponseMessage | Response Message |
3 | Data | It contains the data of the response, such as the status of the request, request time, etc. |
DATA
S.No. | Parameter | Description |
---|---|---|
1 | Exch | Exchange |
2 | Tsym | Response Message |
3 | Prd | Product name |
4 | Stat | Status of your request(Success->Ok /Failure->Not_Ok) |
5 | Request time | Request time |
6 | NorenOrdNo | Order number |
7 | Emsg | Error message |
SAMPLE
{
"StatusCode": 200,
"Message": "Request successful.",
"IsError": false,
"ResponseException": null,
"Result": {
"TotalRows": 0,
"Data": [
{
"ResponseId": 1,
"ResponseMessage": "Order placed successfully",
"Data": {
"Exch": "BSE",
"Tsym": "ASIANTNE",
"Prd": "I",
"Stat": "Ok",
"Request_time": "17:46:35 29-07-2022",
"NorenOrdNo": "22072900000071",
"Emsg": null
}
},
{
"ResponseId": 1,
"ResponseMessage": "Order placed successfully",
"Data": {
"Exch": "NFO",
"Tsym": "APOLLOTYRE25AUG22P200",
"Prd": "M",
"Stat": "Ok",
"Request_time": "17:46:35 29-07-2022",
"NorenOrdNo": "22072900000073",
"Emsg": null
}
}
]
}
}