Finish implementing active management hooks
This commit is contained in:
@@ -20,7 +20,7 @@ def convert_trades_to_usd(account, trades):
|
||||
:return: List of trades, with amount_usd added
|
||||
"""
|
||||
for trade in trades:
|
||||
amount = trade["amount"]
|
||||
amount = D(trade["amount"])
|
||||
symbol = trade["symbol"]
|
||||
side = trade["side"]
|
||||
direction = side_to_direction(side)
|
||||
|
||||
Reference in New Issue
Block a user