mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Rename variable to show it's just a temporary variable
This commit is contained in:
parent
7ba285fbbb
commit
566add7a8b
|
@ -508,10 +508,10 @@ class RPC:
|
||||||
profit_ratio = NAN
|
profit_ratio = NAN
|
||||||
profit_abs = NAN
|
profit_abs = NAN
|
||||||
else:
|
else:
|
||||||
profit = trade.calculate_profit(trade.close_rate or current_rate)
|
_profit = trade.calculate_profit(trade.close_rate or current_rate)
|
||||||
|
|
||||||
profit_ratio = profit.profit_ratio
|
profit_ratio = _profit.profit_ratio
|
||||||
profit_abs = profit.total_profit
|
profit_abs = _profit.total_profit
|
||||||
|
|
||||||
profit_all_coin.append(profit_abs)
|
profit_all_coin.append(profit_abs)
|
||||||
profit_all_ratio.append(profit_ratio)
|
profit_all_ratio.append(profit_ratio)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user