How to fetch Option Chain data based on specific expiry date

how can fetch Option Chain data based on specific expiry date

data = { "symbol":"NSE:NIFTY50-INDEX", "strikecount":50, "timestamp": " " } response = fyers.optionchain(data=data); print(response)

in this code what is timestamp mean?

if we give specific expiry date in to timestamp is it fetch currentexpiry based on the input date ?

4 replies