☰
Login
Signup
Home
›
.Net API client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
Getting System.Collections.Generic.KeyNotFoundException while calling kite.GetHistorical method.
Jegan
December 2017
edited December 2017
in
.Net API client
While calling kite.GetHistorical() method, sometimes it throws System.Collections.Generic.KeyNotFoundException exception
I have tried with several instrument types and several time periods , but still the errors is same ,
below is my code (tried with INFY)
List historical = kite.GetHistorical("4578305", "2017-12-01", "2017-12-01", "minute");
List historical = kite.GetHistorical("4578305", "2016-01-01 11:00:00", "2016-01-01 11:10:00", "minute");
List historical = kite.GetHistorical("5633", "2016-12-28", "2017-01-01", "minute", Continuous: true);
All the results are same
Sign In
or
Register
to comment.