Fix typo
This commit is contained in:
parent
cbd10309f5
commit
539b5627fd
@ -354,7 +354,7 @@ class Trade(_DECL_BASE):
|
|||||||
Recalculate open_trade_price.
|
Recalculate open_trade_price.
|
||||||
Must be called whenever open_rate or fee_open is changed.
|
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,
|
def calc_close_trade_price(self, rate: Optional[float] = None,
|
||||||
fee: Optional[float] = None) -> float:
|
fee: Optional[float] = None) -> float:
|
||||||
|
Loading…
Reference in New Issue
Block a user