☰
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.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
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
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.