Place Order
POST/v1.1.1/order/create
Supported Order Types
- Equity
- Option
- Fixed Income
Request Body
{
"accountNumber": "P000128310",
"securityType": "CS",
"symbol": "AAPL",
"exchange": "NSDQ",
"quantity": 100,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0,
}
|
|
Fractional trading is not supported for option orders; therefore, option orders cannot be placed using order value.
Request Body
{
"accountNumber": "P000128310",
"securityType": "OPT",
"symbol": "AAPL\\23F30\\65.0",
"exchange": "OPRA",
"quantity": 100,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0,
}
|
|
Request Body
{
"accountNumber": "P000284369",
"securityType": "BND",
"symbol": "ANF 8 ¾ 07/15/25",
"exchange": "GTNFI",
"amount": 2000,
"orderType": "2",
"orderSide": 1,
"price": 50,
"tif": 0,
}
|
|
Request
- application/json
Body
Quantity or Order Value is required. if quantity > 0, order will place using quantity not order value.
External Order Id from Fintech side. (This can be used to eliminate order duplications)
Security account number of the customer.
The symbol code of the symbol/ticker which need to be traded.
Find exchange codes. Master Data > Get Exchange List
Quantity or Order Value is required. if quantity > 0, order will place using quantity not order value.
boundary value - 15 digits including decimals
For Order types - Master Data > Get Exchange Order Types
Possible values: [1
, 2
]
1 (Buy) | 2 (Sell)
boundary value - 16 digits including decimals
For Time in force. Master Data > Get Exchange Tif Types
Default value: REG
For trading Sessions - Master data > Get Support Trading Sessions
Quantity or Order Value is required. if quantity > 0, order will place using quantity not order value.
This is invest amount for fixed income.
boundary value - 16 digits including decimals
Possible values: [CS
, OPT
, BND
]
Default value: CS
CS (Equity), OPT (Option), BND (Fixed Income)
Possible values: Value must match regular expression YYYY/MM/DD
Expiry date will be recorded in Coordinated Universal Time (UTC)
Order Amount
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"status": "string",
"reason": "string",
"orderReferenceId": "string"
}
{
"status": "SUCCESS",
"reason": "Order sent to OMS",
"orderReferenceId": "a38d849845cf"
}
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": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1.1/order/create",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1.1/order/create",
"rejectCode": "1007"
}