Fix unreferenced error

This commit is contained in:
Matthias 2021-05-15 08:14:50 +02:00
parent a6c644161d
commit 0ace35bf3d
1 changed files with 1 additions and 1 deletions

View File

@ -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(