static method added
This commit is contained in:
parent
b5192193fd
commit
43bafc391f
@ -351,6 +351,7 @@ class Trade(_DECL_BASE):
|
||||
profit_percent = (close_trade_price / open_trade_price) - 1
|
||||
return float(f"{profit_percent:.8f}")
|
||||
|
||||
@staticmethod
|
||||
def calc_total_open_trades_in_stake_currency() -> float:
|
||||
"""
|
||||
Calculates total invested amount in open trades
|
||||
|
Loading…
Reference in New Issue
Block a user