☰
Login
Signup
Home
›
Java 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)
458
Algorithms and Strategies
999
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
May 2019
ZH5240
May 2019
sujith
Get the future data
ZH5240
May 2019
in
Java client
Hi,
I am trying to get the data for future using java client of Kite connect .I have written following code to get the market dept for future data.
String[] instruments = {"NFO:NIFTY50ONGC" ,"NFO:NIFTY50ONGCFUT" };
Map quotes = kiteSdk.getQuote(instruments);
System.out.println(quotes);
But I am getting empty result.Could you please send me the correct format of instruments to be passed?
Thanks,
Tagged:
futures data
java client
sujith
May 2019
I don't think this is a valid tradingsymbol. You can look for correct tradingsymbol
here
.
ZH5240
May 2019
Thanks. I am able to get data. Can I get request token problematically?
sujith
May 2019
It is mandatory by the exchange that a user has to log in manually at least once a day. We don't recommend automating login.
You can refer to this
thread
to know how to properly use access token.
Sign In
or
Register
to comment.
You can refer to this thread to know how to properly use access token.