paramatrixtech / ksapi

Kotak Securities Trading APIs Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in Script Master api

CosmicTrader opened this issue · comments

When we get the data for url by sending get request to url = "https://tradeapi.kotaksecurities.com/apim/scripmaster/1.1/filename".
We receive cash and fno url for downloading instruments like "cash": "https://preferred.kotaksecurities.com/security/production/TradeApiInstruments_Cash_26_02_2023.txt",.

It works fine on normal days, however when we do this on holiday like 26-02-2023, the cash and fno gives 404 error code. Please make necessary changes to fix this bug so the url is always of working day or make holiday dates also available on servers.