Begin work on increasing position size
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user