Begin work on increasing position size

This commit is contained in:
2023-02-28 07:20:12 +00:00
parent 5843000df6
commit b4424a7782
4 changed files with 33 additions and 0 deletions

View File

@@ -44,6 +44,13 @@ def check_max_risk(risk_model, account_balance_usd, account_trades):
return allowed
def check_max_trade_risk(risk_model, account_balance_usd, trade):
"""
Check that the trade is within the max trade risk percentage of the account size.
"""
pass
def check_max_open_trades(risk_model, account_trades):
"""
Check that the number of trades in the account is within the max open trades limit.