Dhanhq

Latest version: v2.1.0

Safety actively analyzes 723200 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.1.0

This is a major release with following in focus:

- Added 20 Depth
- Modular library
- Added data, integration and unit tests

2.0.2

Added compatibility for dependent library - Websockets v14.1

2.0.1

Adding missing constants - for BSE_FNO and NSE_FNO

2.0

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_data` and `historical_minute_charts` as functions from v1.2.4
- `quantity` field 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_time` function
- `historical_daily_data` takes `security_id` as argument instead of `symbol`
- Nomenclature changes in `get_order_by_corelationID` to `get_order_by_correlationID`.

You can read about all other updates from DhanHQ V2 here: [DhanHQ Releases](https://dhanhq.co/docs/v2/releases/).

2.0.0

1.3.3

Handling of SSL verification along with requirement addition of pyOpenSSL.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.