☰
Login
Signup
Home
›
Python 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
996
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
December 2016
Siddharthak
December 2016
sujith
How to get streaming data for equity
Siddharthak
December 2016
in
Python client
how can I get the instrument token for a specific equity/security using websockets ?
Thanks
Tagged:
WebSocket
sujith
December 2016
Hi
@Siddharthak
,
You cannot get instrument tokens from websocket. You can only stream tick data from websockets.
Checkout docs about how to get instruments
https://kite.trade//docs/connect/v1/#market-and-instruments
Siddharthak
December 2016
i think u missed the point completely , i was asking about how can i get the instrument token for a specific equity like Tata Power on NSE.
sujith
December 2016
edited December 2016
You need get all instruments of "NSE" and find token from it.
List nseInstruments = kiteconnect.getInstruments("NSE");
If you are using javakiteconnect checkout example here
https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
Sign In
or
Register
to comment.
You cannot get instrument tokens from websocket. You can only stream tick data from websockets.
Checkout docs about how to get instruments https://kite.trade//docs/connect/v1/#market-and-instruments
List nseInstruments = kiteconnect.getInstruments("NSE");
If you are using javakiteconnect checkout example here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java