Forever Order

get forever orders list

The api allows you to retrieve an array of all forever orders placed with their last updated status.

get/forever/orders

Headers

access-tokenstring required

Response

Successful operation

dhanClientIdstring

User specific identification generated by Dhan

orderIdstring

Order specific identification generated by Dhan

orderStatus'PENDING' | 'REJECTED' | 'CANCELLED' | 'EXPIRED'
Enum ValuesDescription
PENDINGReached at exchange end, awaiting execution
REJECTEDRejected at exchange/broker’s end
CANCELLEDCancelled by user
EXPIREDValidity of order is expired
transactionType'BUY' | 'SELL'

Signifies the type of transaction whether it's BUY or SELL

exchangeSegment'NSE_EQ' | 'NSE_FNO' | 'BSE_EQ' | 'BSE_FNO' | 'MCX_COMM'
EnumsExchangeSegment
NSE_EQNSEEquity Cash
NSE_FNONSEFutures & Options
BSE_EQBSEEquity Cash
MCX_COMMMCXCommodity
productType'CNC' | 'INTRADAY' | 'MARGIN'
Enum ValuesDescription
CNCCash & Carry for equity deliveries
INTRADAYIntraday for Equity, Futures & Options
MARGINCarry Forward in Futures & Options
orderType'SINGLE' | 'OCO'
Enum ValuesDescription
SINGLEFor Single Forever Order types
OCOFor OCO Forever Order types
tradingSymbolstring

Exchange standard trading symbol

securityIdstring

Exchange standard identification for each scrip

quantityinteger

Number of shares for the order

pricenumber float

Price at which order is placed

triggerPricenumber float

Price at which the order is triggered

legName'TARGET_LEG' | 'STOP_LOSS_LEG'

Order leg of Forever Order where modification is to be done

createTimestring

Time at which the record is created

updateTimestring

Time at which the record is updated

exchangeTimestring

Time at which order reached at exchange end

drvExpiryDatestring

Contract Expiry Date for F&O

drvOptionType'CALL' | 'PUT' | 'NA'

Type of Option

drvStrikePricenumber float

Strike Price for Options

Changes

No recorded changes to this endpoint across all 1 revision of this API.