From 539b5627fdd67f0e245cce67a9b4428f94d8253f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 17 Dec 2019 08:31:44 +0100 Subject: [PATCH] Fix typo --- freqtrade/persistence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/persistence.py b/freqtrade/persistence.py index 21e1b82ce..61dee0414 100644 --- a/freqtrade/persistence.py +++ b/freqtrade/persistence.py @@ -354,7 +354,7 @@ class Trade(_DECL_BASE): Recalculate open_trade_price. Must be called whenever open_rate or fee_open is changed. """ - self.open_trade_price - self._calc_open_trade_price() + self.open_trade_price = self._calc_open_trade_price() def calc_close_trade_price(self, rate: Optional[float] = None, fee: Optional[float] = None) -> float: