Get Exchange Order Types
GET/v1.2/master-data/exchange/order-types
This is used to get the supported order types by each exchange that are currently available in the system.
# | type |
---|---|
1 | Market |
2 | Limit |
3 | Stop/Stop Loss/Stop Market |
4 | Stop Limit |
P | Trailing Stop |
Request
Query Parameters
exchange string
Example: NSDQ
Header Parameters
Throttle-Key string
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
- Array [
- ]
exchangeOrderTypeList object[]required
exchange string
orderTypes string
status stringrequired
Possible values: non-empty
, [SUCCESS
, FAILED
]
reason string
Possible values: non-empty
rejectCode number
Find error codes here
{
"exchangeOrderTypeList": [
{
"exchange": "string",
"orderTypes": "string"
}
],
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0
}
{
"exchangeOrderTypeList": [
{
"exchange": "NSDQBB",
"orderTypes": "1,2"
}
],
"status": "SUCCESS",
"reason": "N/A",
"rejectCode": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.2/master-data/exchange/order-types",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/master-data/exchange/order-types",
"rejectCode": "1008"
}
Loading...
Is this page helpful for you?