Is the live api you guys are providing for fetching option chain data for different indices cannot fetch data on the days when market is closed ? Because I am getting response of success but not data is showing there .
@shanmu @Anand_Sajankar
Are you trying to fetch that data from websocket? If yes, then let me tell you that, websockets only provide live data, when market is open. You need to use Rest API for your query
No not from websocket .Its from the api that I integrated after consumer key , token generation and all of that
@Daljit_singh
Bro i suggest you do go through this link Option Contracts | Upstox Developer API
But there is no information about the question I am asking for .
Can any one please tell me about the query that i had already asked for ?
Websockets provide live data while the markets are open.
When the markets are closed, use the historical APIs to fetch the data. Documentation here: Historical Candle Data | Upstox Developer API