☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.