☰
Login
Signup
Home
›
Python client
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.9K
All Categories
0
Incidents
177
Node JS client
51
Go client
840
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
490
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
409
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
July 2025
sujith
live feed response data receving as mode "quote" instead of "full"
durgaragini
July 2025
in
Python client
after subscribing instruments
I am sending mode request as "full" instead of getting full data I am only getting data for "quote"
below is the sample code for checking
subscribe_message = {"a": "subscribe", "v": instrument_tokens} # [instrument_tokens]
await ws.send(json.dumps(subscribe_message))
mode_message = {"a": "mode", "v": ["full", instrument_tokens]} #[instrument_tokens]
await ws.send(json.dumps(mode_message))
Data dump for reference
⚠️ Incomplete packet (len=44): 009bcf02000061fd0000004b00005f460000025800000d2f00001770000057670000660d0000576700005807
(10211074, 25085, 75, 24390, 600, 3375, 6000, 22375, 26125, 22375, 22535)
???? Partial data unpacked: {'instrument_token': 10211074, 'last_price': 250.85, 'last_quantity': 75, 'average_price': 243.9, 'volume': 600, 'buy_quantity': 3375, 'sell_quantity': 6000, 'open': 223.75, 'high': 261.25, 'low': 223.75, 'close': 225.35}
sujith
July 2025
When you subscribe for the tick it will give you Quote mode data in the beginning. Once the second message is sent, the next tick you receive will have full mode data.
Sign In
or
Register
to comment.