v2
v2.0 - What's New
DhanHQ v2 extends execution capability with live order updates, market quotes and forever orders on superfast APIs. Some of the key highlights from this version are:
- Fetch LTP, Quote (with OI) and Market Depth data directly on API, for upto 1000 instruments at once with Market Quote API.
- Option Chain API which gives OI, greeks, volume, top bid/ask and price data of all strikes of a particular underlying.
- Place, modify and manage your Forever Orders, including single and OCO orders to manage risk and trade efficiently with Forever Order API.
- Order Updates are sent in real time via websockets, which will update order status of all your orders placed via any platform -
order_update. - Intraday Minute Data now provides OHLC with Volume data for last 5 trading days across timeframes such as 1 min, 5 min, 15 min, 25 min and 60 min -
intraday_minute_data. - Full Packet in Live Market Feed (
marketfeed). - Margin Calculator (
margin_calculator) and Kill Switch (kill_switch) APIs.
Breaking Changes
- Replaced
intraday_daily_minute_dataandhistorical_minute_chartsas functions from v1.2.4 quantityfield needs to be placed order quantity instead of pending order quantity in Order Modification- EPOCH time instead of Julian time in Historical Data API, and same changed for
convert_to_date_timefunction historical_daily_datatakessecurity_idas argument instead ofsymbol- Nomenclature changes in
get_order_by_corelationIDtoget_order_by_correlationID.
You can read about all other updates from DhanHQ V2 here: DhanHQ Releases.