☰
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.6K
All Categories
0
Incidents
172
Node JS client
48
Go client
822
.Net API client
394
Kite Publisher
551
.Net / VBA / Excel (3rd party)
483
Algorithms and Strategies
1K
Java client
1.2K
API clients
408
PHP client
4.2K
Python client
357
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.5K
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.