mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-18 05:41:14 +00:00
chore: simplify calculation by reducing dict lookups
This commit is contained in:
@@ -1056,7 +1056,7 @@ class Exchange:
|
|||||||
"filled": _amount,
|
"filled": _amount,
|
||||||
"remaining": 0.0,
|
"remaining": 0.0,
|
||||||
"status": "closed",
|
"status": "closed",
|
||||||
"cost": (dry_order["amount"] * average),
|
"cost": (_amount * average),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
# market orders will always incurr taker fees
|
# market orders will always incurr taker fees
|
||||||
|
|||||||
Reference in New Issue
Block a user