diff --git a/pykrakenapi/pykrakenapi.py b/pykrakenapi/pykrakenapi.py index 7d81d18..7add1b3 100644 --- a/pykrakenapi/pykrakenapi.py +++ b/pykrakenapi/pykrakenapi.py @@ -1205,7 +1205,7 @@ def query_orders_info(self, txid, trades=False, userref=None, otp=None): orders = pd.concat((orders, descr), axis=1) for col in ['closetm', 'expiretm', 'opentm', 'starttm']: if col in orders: - orders.loc[:, col] = orders[col].astype(int) + orders.loc[:, col] = orders[col].astype(float) for col in ['cost', 'fee', 'price', 'vol', 'vol_exec', 'descr_price', 'descr_price2']: orders.loc[:, col] = orders[col].astype(float)