Hello
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?