Get Exchange Order Types
GET/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, 4, 5, a, b, B, c, K, y, z, Z | Currently not supported in GTN API |
Request
Query Parameters
exchange string
Example: NSDQ
Responses
- 200
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
}
Loading...
Is this page helpful for you?