☰
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.5K
All Categories
0
Incidents
169
Node JS client
47
Go client
818
.Net API client
393
Kite Publisher
541
.Net / VBA / Excel (3rd party)
474
Algorithms and Strategies
1K
Java client
1.2K
API clients
408
PHP client
4.2K
Python client
355
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.5K
General
live feed response data receving as mode "quote" instead of "full"
durgaragini
July 10
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}
Sign In
or
Register
to comment.