☰
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.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.