Fix unreferenced error
This commit is contained in:
parent
a6c644161d
commit
0ace35bf3d
@ -178,7 +178,7 @@ class RPC:
|
||||
current_rate = trade.close_rate
|
||||
current_profit = trade.calc_profit_ratio(current_rate)
|
||||
current_profit_abs = trade.calc_profit(current_rate)
|
||||
|
||||
current_profit_fiat: Optional[float] = None
|
||||
# Calculate fiat profit
|
||||
if self._fiat_converter:
|
||||
current_profit_fiat = self._fiat_converter.convert_amount(
|
||||
|
Loading…
Reference in New Issue
Block a user