Estimate Order Charges
POST/v1.2/order/charges
This is used to get the tentative estimated order charges for a particular buy or sell order before submission. This tentative values and actual values after the trade is completed can be slightly different.
quantity or orderValue is required. if quantity > 0, order will place using quantity not orderValue.
same equity instrument types will be added for SPOT orders as well.
to get BOND estimated order charges, use amount instead of quantity.
Field Name | Equity | Option | Fixed Income | Fund | Spot |
---|---|---|---|---|---|
accountNumber | required | required | required | required | required |
symbol | required | required | required | required | required |
exchange | required | required | required | required | required |
quantity | optional | optional | N/A | N/A | optional |
price | required | required | required | N/A | required |
tradingSession | optional | N/A | N/A | N/A | optional |
orderValue | optional | N/A | N/A | N/A | optional |
securityType | optional | optional | optional | optional | optional |
instrumentType | optional | optional | optional | optional | optional |
amount | N/A | N/A | required | required | N/A |
asset | security type | instrument type |
---|---|---|
equity | CS | 0,60,61,86 |
option | OPT | 10 |
fixed income | BND | 75 |
mutual fund | FND | 2 |
Request
Header Parameters
Throttle-Key string
- application/json
Body
accountNumber string
Security account number
price number
quantity number
amount number
exchange string
symbol string
tradingSession string
Default value: REG
For trading Sessions - Master data > Get Support Trading Sessions
securityType string
Possible values: [CS
, OPT
, BND
, FND
]
CS(Equity), OPT(Option), BND(Fixed Income), FND(Mutual Fund)
orderValue number
instrumentType string
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
status stringrequired
reason stringrequired
rejectCode integerrequired
Find error codes here
commission numberrequired
vat numberrequired
stampDuty numberrequired
salesTax numberrequired
{
"status": "string",
"reason": "string",
"rejectCode": 0,
"commission": 0,
"vat": 0,
"stampDuty": 0,
"salesTax": 0
}
{
"status": "SUCCESS",
"reason": "successfully getting estimated order charges",
"rejectCode": 0,
"commission": 5,
"vat": 1,
"stampDuty": 5,
"salesTax": 2
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status stringrequired
error stringrequired
message string
path string
rejectCode stringrequired
{
"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/commission",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/commission",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?