☰
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
13.3K
All Categories
0
Incidents
128
Node JS client
39
Go client
769
.Net API client
364
Kite Publisher
532
.Net / VBA / Excel (3rd party)
437
Algorithms and Strategies
973
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
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.