☰
Login
Signup
Home
›
Market data (WebSockets)
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
14K
All Categories
0
Incidents
157
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
405
PHP client
4K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
August 2021
msangani
August 2021
rakeshr
Websocket ticks - how to find which symbol it belongs to
msangani
August 2021
in
Market data (WebSockets)
Let's say I have subscribed to 2 tokens only for LTP: NIFTY 16300CE & NIFTY 16300PE
When I receive the ticks, I notice sometimes ticks[0] has NIFTY 16300CE & sometimes has NIFTY 16300PE.
How to do handle this since I want to do some operations on this.
rakeshr
August 2021
You can add the condition to check for the required contract, after receiving the tick.
msangani
August 2021
Thanks Rakesh .. I was able to verify by comparing token[0] with ticks[0]['instrument_token']
Sign In
or
Register
to comment.