is there a call in the API to check the status of the different markets, whether open or closed. If trading in equities, currencies and commodities then it will a useful c
@yousuf We are looking into this. As trading holiday calendar is pre-defined, it's easy to implement at your end.You can have list of equity,cds and mcx trading holiday's and skip your segment logic, if today's day falls in any of trading_holiday list,something like below :
Currently, we don't have individual APIs to check market status of different segment.You may use segment wise WebSocket feeds to check it.
could you please consider introducing this, , as this would be helpful.
We are looking into this. As trading holiday calendar is pre-defined, it's easy to implement at your end.You can have list of equity,cds and mcx trading holiday's and skip your segment logic, if today's day falls in any of trading_holiday list,something like below :