it always showing current expiry data.
optionchain API call
it always showing current expiry data.
optionchain API call
By default, the Option Chain API provides data for the current week’s expiry. However, to fetch data for other expiry dates, you can pass the corresponding timestamp (Epoch value) as a parameter.
Example:
To fetch data for the 28th of June 2029 expiry, use the Epoch value: 1877335200.