Update docstring
This commit is contained in:
parent
861a7834fc
commit
362a40db6f
@ -342,9 +342,7 @@ class Trade(_DECL_BASE):
|
|||||||
|
|
||||||
def _calc_open_trade_price(self) -> float:
|
def _calc_open_trade_price(self) -> float:
|
||||||
"""
|
"""
|
||||||
Calculate the open_rate including fee.
|
Calculate the open_rate including open_fee.
|
||||||
:param fee: fee to use on the open rate (optional).
|
|
||||||
If rate is not set self.fee will be used
|
|
||||||
:return: Price in of the open trade incl. Fees
|
:return: Price in of the open trade incl. Fees
|
||||||
"""
|
"""
|
||||||
buy_trade = (Decimal(self.amount) * Decimal(self.open_rate))
|
buy_trade = (Decimal(self.amount) * Decimal(self.open_rate))
|
||||||
|
Loading…
Reference in New Issue
Block a user