Skip to content

v2.2.0

Latest

Choose a tag to compare

@dhan-oss dhan-oss released this 24 Apr 11:41
· 3 commits to main since this release

v2.2.0 — What’s New
This release significantly expands the capabilities of the DhanHQ Python Library, bringing deeper market data access, improved instrument coverage, and new order-management utilities.

🔍 Deeper Market Data
You can now access the full market depth (up to 200 levels) directly via DhanHQ APIs, fully supported in the Python library. This enables advanced order-book analysis, liquidity tracking, and high-precision trading strategies.

🕒 Expired Options Data
The library now supports fetching expired options data across both NSE and BSE instruments. This makes it easier to backtest strategies, analyse historical derivatives behavior, and perform post-expiry research without external data sources.

⚡ Super Orders
Super Orders are now available in the Python library—smart orders designed to help manage risk and profit targets more efficiently. This simplifies the execution of advanced trading logic while maintaining tighter control over exits.

🔐 IP Management via API
You can now set, modify, and manage IP restrictions for your account directly from the Python library. Sample code for IP management is available under the examples section to help you get started quickly.

🚀 Improvements & Enhancements
Along with these major updates, v2.2.0 includes multiple internal improvements and expanded API coverage, making more DhanHQ functionality accessible directly through the Python SDK.