Deposit status error if more than one transaction
Opened this issue · 0 comments
jonnymaserati commented
The following line doesn't work if there's more than one transaction returned.
pykrakenapi/pykrakenapi/pykrakenapi.py
Line 1567 in 3817add
I think this should be replaced with the following that will return a dataframe of transactions indexed by their datetime
:
depositstatus = pd.DataFrame(data=res['result']).set_index('time')
depositstatus.index = pd.to_datetime(depositstatus.index, unit='s')
I suspect the same applies to withdrawals.