I am using the code, and able to fetch data for symbols like
NSE:SBIN-EQ
NSE:NIFTY23N2319800PE
As of writing this post, its 18-Nov-2023 so I am able to get data for an unexpired option.
However when I try to get quotes for an expired option contact it throws an error
NSE:NIFTY23N1619800PE
Array ( [code] => -300 [message] => Invalid symbol provided [s] => error )
Does the API not provide hstoric data for options?
Hi @raman_l
Not sure about it. Please confirm once it with True data team.
I guess in their paid version they provide it. Still I am not sure about it.
Once you check with them , for sure they will help you