Place Order
POST/v1.2/order/create
Supported Order Types
- Equity
- Option
- Fixed Income
- Fund
- Spot
Request Body
{
"externalOrderId": "ext-ord-001",
"accountNumber": "P000128310",
"securityType": "CS",
"symbol": "AAPL",
"exchange": "NSDQ",
"quantity": 100,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0,
"tradingSession": "REG",
"orderValue": 1
}
|
|
Fractional trading is not supported for option orders; therefore, option orders cannot be placed using order value.
Request Body
{
"externalOrderId": "ext-ord-001",
"accountNumber": "P000128310",
"securityType": "OPT",
"symbol": "AAPL\\23F30\\65.0",
"exchange": "OPRA",
"quantity": 100,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0
}
|
|
Request Body
{
"externalOrderId": "ext-ord-001",
"accountNumber": "P000284369",
"securityType": "BND",
"symbol": "ANF 8 ¾ 07/15/25",
"exchange": "BOND",
"amount": 2000,
"orderType": "2",
"orderSide": 1,
"price": 50,
"tif": 0,
"expireTime": "2023/11/10"
}
|
|
Request Body
{
"externalOrderId": "ext-ord-003",
"accountNumber": "P001133137",
"symbol": "AFB007013406",
"exchange": "MFSFUNDS",
"orderSide": 2,
"securityType": "FND",
"amount": 5000,
"isPartialRedemption": 0,
"investmentId": "FO240313-2-000024"
}
|
|
Request Body
{
"externalOrderId": "ext-ord-001",
"accountNumber": "P000128310",
"symbol": "XAU/USD",
"exchange": "GTNSPOT",
"quantity": 1,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0,
"tradingSession": "REG",
"orderValue": 100,
"securityType": "CS",
"instrumentType": "60"
}
|
|
Request
Header Parameters
- application/json
Body
Fintech order id
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
, FND
]
Default value: CS
CS(Equity), OPT(Option), BND(Fixed Income), FND(Mutual Fund)
Possible values: Value must match regular expression YYYY/MM/DD
Expiry date will be recorded in Coordinated Universal Time (UTC)
This Field is required when orderside value is 1 or when orderside value is 2 and isPartiallyRedemption value is 0.
Possible values: [0
, 1
]
0 (Partial Redemption) 1 (Fully Redemption)
This is required for orderside is 2 and security type is FND
only applicable for Trailing stop orders. only support in ASIA region for equity and option orders.
only applicable for Trailing stop orders. only support in ASIA region for equity.
Possible values: [TYPE:%
, TYPE:$
]
only applicable for Trailing stop orders. only support in ASIA region for equity.
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.2/order/create",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/order/create",
"rejectCode": "1007"
}