TradingAPIs icon indicating copy to clipboard operation
TradingAPIs copied to clipboard

Returning blank results in market feed

Open Somenath24 opened this issue 4 years ago • 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?

Somenath24 avatar Jul 03 '21 15:07 Somenath24

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.

api-iifl-securities avatar Nov 15 '21 09:11 api-iifl-securities