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