Timestamps are in ms

This commit is contained in:
Matthias
2020-08-13 15:39:29 +02:00
parent 73182bb2dd
commit 0af9e913d4
5 changed files with 15 additions and 7 deletions

View File

@@ -486,7 +486,7 @@ class Exchange:
'side': side,
'remaining': _amount,
'datetime': arrow.utcnow().isoformat(),
'timestamp': arrow.utcnow().timestamp,
'timestamp': int(arrow.utcnow().timestamp * 1000),
'status': "closed" if ordertype == "market" else "open",
'fee': None,
'info': {}