☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.