Super Order
place super order
The order API allows you to place a new order.
post/super/orders
Headers
access-tokenstring required
Request body
dhanClientIdstring
User specific identification generated by Dhan
correlationIdstring
The user/partner generated id for tracking back
transactionType'BUY' | 'SELL' required
The trading side of transaction
exchangeSegment'NSE_EQ' | 'NSE_FNO' | 'NSE_COMM' | 'BSE_EQ' | 'BSE_FNO' | 'MCX_COMM' required
| Enums | Exchange | Segment |
|---|---|---|
| NSE_EQ | NSE | Equity Cash |
| NSE_FNO | NSE | Futures & Options |
| NSE_COMM | NSE | Commodity |
| BSE_EQ | BSE | Equity Cash |
| BSE_FNO | BSE | Futures & Options |
| MCX_COMM | MCX | Commodity |
productType'CNC' | 'INTRADAY' | 'MARGIN' | 'MTF'
| Enum Values | Description |
|---|---|
| CNC | Cash & Carry for equity deliveries |
| INTRADAY | Intraday for Equity, Futures & Options |
| MARGIN | Carry Forward in Futures & Options |
| MTF | Margin Traded Fund |
orderType'LIMIT' | 'MARKET'
| Enum Values | Description |
|---|---|
| LIMIT | For Limit Order types |
| MARKET | For market Order types |
securityIdstring
Exchange standard identification for each scrip
quantityinteger
Number of shares for the order
pricenumber float
Price at which order is placed
targetPricenumber float
Target price for the Super Order
stopLossPricenumber float
Stop Loss Price for the Super Order
trailingJumpnumber float
Price Jump by which Stop Loss should be trailed
Response
Successful Operation
orderIdstring
Order specific identification generated by Dhan
orderStatus'TRANSIT' | 'PENDING' | 'REJECTED' | 'CANCELLED' | 'PART_TRADED' | 'TRADED' | 'EXPIRED' | 'MODIFIED' | 'TRIGGERED' | 'INACTIVE'
| Enum Values | Description |
|---|---|
| TRANSIT | Did not reach the exchange server |
| PENDING | Reached at exchange end, awaiting execution |
| REJECTED | Rejected at exchange/broker’s end |
| CANCELLED | Cancelled by user |
| PART_TRADED | Partially Executed |
| TRADED | Executed |
| EXPIRED | Validity of order is expired |
Changes
No recorded changes to this endpoint across all 1 revision of this API.