Today market is open but your API return Market is closed hence my algo is not running please resolve this issue ASAP

Today market is open but your API return Market is closed hence my algo is not running please resolve this issue ASAP

Bro in that API you need to check holiday type also if it’s trading_holiday then market is closed but if settlement_holiday then market is open but settlement and withdrawal is closed.