Realised PnL Python API

Do we currently have a Python API available for Realised PnL? If not, is there a roadmap for its addition?

Hi @Ameebha_D ,

Yes, the API to retrieve realised P&L is available. You can refer to our official Python SDK here: GitHub - dhan-oss/DhanHQ-py: The official Python client for communicating with the Dhan API.. To get started, you may use the following sample code :

Get positions

dhan.get_positions()