I am getting a data exception while calling GetInstruments:
An exception of type 'KiteConnect.DataException' occurred in KiteConnect.dll but was not handled in user code Unable to parse data. {"instrument_token":"6656001","exchange_token":"26000","tradingsymbol":"NIFTY","name":"","last_price":"0.0","expiry":"","strike":"0.0","tick_size":"-0.01","lot_size":"-1","instrument_type":"EQ","segment":"NSE","exchange":"NSE"}
Exactly. I am also facing the same problem with my app while calling Kite.GetInstruments("NSE"). Output window of VS says "Exception thrown: 'KiteConnect.DataException' in KiteConnect.dll" and Exception message is:
Unable to parse data. {"instrument_token":"6656001","exchange_token":"26000","tradingsymbol":"NIFTY","name":"","last_price":"0.0","expiry":"","strike":"0.0","tick_size":"-0.01","lot_size":"-1","instrument_type":"EQ","segment":"NSE","exchange":"NSE"}
As a result I am not able to update my instruments list.
Thanks @trade_then for a work around solution for this issue. Fortunately, my trading for the day won't be impacted by this issue because my app updates itself from previous trading day's instrument lists. Usually there are not many changes in a day, so I'll still go with it. Hopefully this issue is resolved soon...
Hi, There was some issue with instrument master dump we received today earlier. We are taking this up with the concerned team and investigating this. You may have to re-download the latest instrument dump now to trade today.
Unable to parse data. {"instrument_token":"6656001","exchange_token":"26000","tradingsymbol":"NIFTY","name":"","last_price":"0.0","expiry":"","strike":"0.0","tick_size":"-0.01","lot_size":"-1","instrument_type":"EQ","segment":"NSE","exchange":"NSE"}
As a result I am not able to update my instruments list.
obviously with respective instrument information changed.
this will avoid your app blowing up.
Thanks
Regards
what is the solution for this ?
you can change the line as mentioned in above post. recompile, and reference .dll in your solution.
as a temporary solution to this problem.
Thanks
Regards
but anyway mine is website, I don't have enough time to migrate my changes to web server,
I have to skip trading today, Hope the issue will be resolved soon !:(
@MadanGoyal yaa my app also relies on previously stored instrument list in case something goes wrong.
Thanks
Regards
There was some issue with instrument master dump we received today earlier. We are taking this up with the concerned team and investigating this.
You may have to re-download the latest instrument dump now to trade today.
Thanks, would do that.
Instrument list was bit small today compared to other days. it might be that.
Thanks
Regards
You won't be facing the issue anymore.
@trade_then,
It will have more entries today.