mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 17:42:42 +08:00
STY: pep8 change in exchange_blotter
This commit is contained in:
@@ -68,7 +68,7 @@ class TradingPairFeeSchedule(CommissionModel):
|
||||
multiplier = maker \
|
||||
if ((order.amount > 0 and order.limit < transaction.price)
|
||||
or (order.amount < 0 and order.limit > transaction.price)) \
|
||||
and order.limit_reached else taker
|
||||
and order.limit_reached else taker
|
||||
|
||||
fee = cost * multiplier
|
||||
return fee
|
||||
|
||||
Reference in New Issue
Block a user