Evaluate average before price in order returns

This commit is contained in:
Matthias
2020-07-20 19:39:12 +02:00
parent de46744aa9
commit 4774896169
3 changed files with 6 additions and 5 deletions

View File

@@ -475,6 +475,7 @@ class Exchange:
"id": order_id,
'pair': pair,
'price': rate,
'average': rate,
'amount': _amount,
'cost': _amount * rate,
'type': ordertype,