pykrakenapi
pykrakenapi copied to clipboard
Deposit status error if more than one transaction
The following line doesn't work if there's more than one transaction returned.
https://github.com/dominiktraxl/pykrakenapi/blob/3817add24389f1e222498b0a5c508cc88ac9971a/pykrakenapi/pykrakenapi.py#L1567
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.