☰
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
12.5K
All Categories
100
Node JS client
35
Go client
741
.Net API client
345
Kite Publisher
528
.Net / VBA / Excel (3rd party)
412
Algorithms and Strategies
920
Java client
958
API clients
389
PHP client
3.5K
Python client
318
Mobile and Desktop apps
1.2K
Market data (WebSockets)
3K
General
In this Discussion
August 28
vaibhavsharma13
how to save kite ticker tick data in separate object in python
shirishardak
August 25
edited August 25
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 28
You can use python pandas library. It will make your work very easy.
Sign In
or
Register
to comment.