Dhanhq

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 2

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.

1.3.2

Optimising `marketfeed` module

- Adding upto 5000 instruments in a single list
- Subscribing to multiple modes simultaneously
- Websocket disconnect function
- Removed Warning message

1.3

**Adding class for Market Feed data**

Live Market data is via DhanHQ Websockets - which establishes connection between your local and server.

**Highlights of Python Client:**

- Initiate and Authorise Connection
- Maintain Connection
- Subscribe to Instruments
- Parse receiving data from binary

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.