Fetch OI data for each candle/ tick

Is there a way to fetch the OI data for each candle, similar to the way we get volume in the response while calling get_intraday_data()?

Ideally, I would like to capture change in OI either for each candle or each tick(if within rate limit rules)

@Tradehull_Imran, would highly appreciate if you could respond :slight_smile:

Hi @cyberpunk_danny ,

You can use the Market Depth API to access real-time Open Interest (OI) data. - Market Quote - DhanHQ Ver 2.0 / API Document

Additionally, while making the API call for intraday data, ensure that the OI field is set to ‘true’ to receive the relevant information.

when i try to pass the OI field it gives an error “HistoricalData.intraday_minute_data() got an unexpected keyword argument ‘oi’”