IIFLSecurities/TradingAPIs

Returning blank results in market feed

Opened this issue · 1 comments

Hello,

I could login and tried to run exactly how it is mentioned in the package example like

req_list_=[{"Exch":"N","ExchType":"C","ScripCode":"22"},
{"Exch":"N","ExchType":"C","ScripCode":"2885"}]

client.fetch_market_feed(req_list=req_list_, count=2,client_id=client_code)

sometime it is successful, but maximum time it returning blank results like below

{'CacheTime': 0,
'Data': [],
'Message': None,
'Status': 0,
'TimeStamp': '/Date(1625326670791+0530)/'}

what could be the issue?

Dear @Somenath24,

The scrip masters (contain details for all the tradeable instruments) get updated daily and the scrip codes are subject to change. Kindly retrieve latest scrip master through http://content.indiainfoline.com/IIFLTT/Scripmaster.csv. The documentation for the same can also be found at https://api.iiflsecurities.com/scrip-master.html.

Thanks.