I am fetching daily order book and profit/loss data using broker API and feeding them using python with the help of Gspread library. Following code, I am using to feed fetched order book data from broker into google sheet.
wkob.update('A2',[obdf.columns.values.tolist()] + obdf.values.tolist())
I have to run this python daily using Windows Schduler but each time I am running python file data has been over written on existing one in Googlesheet. I used following code to fetech existing value of available data on sheet but dont know how to use this value to add fresh data next row of existing one. Please help regarding this.
len(wkpnl.get_all_values())
Auto update fresh value after previously updated data in google sheet using python. Screenshot of code