☰
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.1K
All Categories
0
Incidents
158
Node JS client
43
Go client
801
.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
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
May 2017
sujith
Streaming query
cjsekhar
May 2017
in
Market data (WebSockets)
i put the 3 sec delay in my code what happens when it connects to stream. it will get all changed packets from last 3 secs. please clarify??
sujith
May 2017
Hi
@cjsekhar
,
Don't block websockets streaming thread, you will loose data. Never do computation on the thread you receive streaming data. Every time you receive the tick, pass it on to some other thread for computations.
Sign In
or
Register
to comment.
Don't block websockets streaming thread, you will loose data. Never do computation on the thread you receive streaming data. Every time you receive the tick, pass it on to some other thread for computations.