☰
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
14.2K
All Categories
0
Incidents
159
Node JS client
45
Go client
803
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
350
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.