Hi, This message is coming regularly today The given key was not present in the dictionary. while fetching Ex: 1. Quote quote = kite.GetQuote("NFO", "ULTRACEMCO18FEBFUT"); 2. Dictionary Margins = kite.Margins("equity");
@arjunender We will phase out this API shortly. I would suggest migrating to the new APIs as soon as possible which also supports bulk fetch in a single request.
Kite kite = new Kite(MyAPIKey, Debug: true);
DEBUG: GET https://api.kite.trade/user/margins/equity?api_key=apikey&access_token=token
for margin it is working (sometimes)
DEBUG: 200 {"status": "success", "data": {"available": {"adhoc_margin": 0.0, "collateral": 0.0, "intraday_payin": 0.0, "cash": 992433.62}, "net": 782022.63, "enabled": true, "utilised": {"m2m_unrealised": -6082.0, "m2m_realised": 17198.75, "debits": 210410.99, "span": 117567.0, "option_premium": -9562.0, "holding_sales": 0.0, "exposure": 113522.74, "turnover": 0.0}}}
For Quote quote = kite.GetQuote("NFO", "ULTRACEMCO18FEBFUT");
DEBUG: GET https://api.kite.trade/instruments/NFO/ULTRACEMCO18FEBFUT?access_token=token&api_key=apikey
DEBUG: 502 {"status": "error", "message": "Exception fetching quote", "error_type": "DataException"}
Thanks
I will update to new version
Today every thing is working fine
Is there any problem on that day
Today tick data Bids/Offers receiving wrong data
Ex. SUNPHARMA18FEBFUT
for all pairs same data is coming
Thanks
Thanks