how to save kite ticker tick data in separate object in python

shirishardak
shirishardak 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

Sign In or Register to comment.