☰
Login
Signup
Home
›
General
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
798
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
October 2016
Vivek
October 2016
Naresh
October 2016
sujith
October 2016
Kailash
Commodities Historical Data issue
Naresh
October 2016
in
General
When I try to get historical data using Java API Kite Connect for Commodities its giving up to 15:30 every day. Is there is any issue over this?? Can someone update on this how to get complete data?
Kailash
October 2016
What interval are you fetching? Day data?
sujith
October 2016
Can you post your code where you are making getHistoricalData() call?
Naresh
October 2016
I found the issue ... issue is with the Intstument token.I'm using wring instrument token.
Naresh
October 2016
And now I'm trying to get the historical data for more than 50 Symbols at a time... but I'm getting "Too Many Requests Message" ... Any help here?
Naresh
October 2016
edited October 2016
This is the code that I'm using:
Map param8 = new HashMap(){
{
put("from", "2016-10-20");
put("to", "2016-10-20");
}
};
ArrayList instrumentKeys = new ArrayList();
/* I'm loading arrayList with instruments codes of 50 scrips*/
for(int i = 0; i<instrumentKeys.size(); i++){
HistoricalData historicalData = kiteconnect.getHistoricalData(param8, instrument_key, "30minute");
}
After getting historical data for 5/6 scripts... i'm getting "Too Many Requests Message"
Vivek
October 2016
@Naresh
You are hitting rate limiting. Read about our ratelimiting here -
https://kite.trade/forum/discussion/comment/1244/
Sign In
or
Register
to comment.
Map param8 = new HashMap(){
{
put("from", "2016-10-20");
put("to", "2016-10-20");
}
};
ArrayList instrumentKeys = new ArrayList();
/* I'm loading arrayList with instruments codes of 50 scrips*/
for(int i = 0; i<instrumentKeys.size(); i++){
HistoricalData historicalData = kiteconnect.getHistoricalData(param8, instrument_key, "30minute");
}
After getting historical data for 5/6 scripts... i'm getting "Too Many Requests Message"