☰
Login
Signup
Home
›
Mobile and Desktop apps
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
158
Node JS client
45
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
websocket subscribe, unsubscribe, mode
Santosh
May 2017
in
Mobile and Desktop apps
Lets say I have 10 instruments and I want to have a single websocket call for those. Therefore I use
message = {"a": "mode", "v": ["full", [408065, 884737,....upto 10 different instrument token]]};
After sometime I want to unsubscribe 5 of those so I call,
message = {"a": "unsubscribe", "v": [408065, 884737,...3more instrument token]};
Is it 'ok' or do I need to call "subscribe" too? What does subscribe give me if I use "subscribe" in place of "mode"?
sujith
May 2017
Hi
@Santosh
,
Ideally set mode is to change mode of data like change mode from modeFULL to modeQUOTE or modeLTP.
You need subscribe to get live market data.
Sign In
or
Register
to comment.
Ideally set mode is to change mode of data like change mode from modeFULL to modeQUOTE or modeLTP.
You need subscribe to get live market data.