DhanHQ - Banknifty spot intraday value

Hi @Dhan_Help @PravinJ

How should the data structure be for getting banknifty index intraday spot data ? I looked in to the excel file and saw this

But using this in the data structure

{“securityId”:“26009”,“exchangeSegment”:“NSE_EQ”,“instrument”:“EQUITY”}

am getting the result

{
“totOI”: null,
“oi”: null
}

Hi @t7support

The security id for BankNifty Index is 25. You are searching in Equity. Do search in index or IDX. This is exchange generated file and gets updated everyday in the morning.

K got it. Thanks. Now its working.

Btw why is there another BANKNIFTY with 26009. How is it different from the index ? Just curious to know.

@naman any thoughts on above ?