☰
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
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
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.