☰
Login
Signup
Home
›
General
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.2K
All Categories
0
Incidents
128
Node JS client
39
Go client
769
.Net API client
364
Kite Publisher
532
.Net / VBA / Excel (3rd party)
436
Algorithms and Strategies
972
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
General
In this Discussion
August 2023
vaibhavsharma13
how to save kite ticker tick data in separate object in python
shirishardak
August 2023
edited August 2023
in
General
input_ data = [{'instrument_token': 15482626, 'last_price': 343.7,}, {'instrument_token': 15482626, 'last_price': 345.7,}, {'instrument_token': 1548 , 'last_price': 23.7,},]
i want convert input data as per below ;
{
15482626 :[{ 'last_price': 343.7,}, { 'last_price': 345.7,}]
1548 :[{ 'last_price': 343.7,}, { 'last_price': 345.7,}]
}
using python and save in CSV
Tagged:
sample code
#websocket #python #pythonclient
vaibhavsharma13
August 2023
You can use python pandas library. It will make your work very easy.
Sign In
or
Register
to comment.