Introduce Order database model

This commit is contained in:
Matthias
2020-08-13 09:34:53 +02:00
parent 7d03a067ee
commit 171a52b21a
4 changed files with 74 additions and 6 deletions

View File

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