expiry attribute to fetch next month option chain in api

data = {

"symbol": symbol,

#"expiry": "2024-11-28", # Set appropriate expiry date

#"symbol":"NSE:TCS-EQ",

"strikecount":2,

"timestamp": "",

"expiry": "2024-11-28" # Set

}

here in above code is expiry attribute correct to fetch next month option chain

1 reply