전략및 버그 수정
This commit is contained in:
@@ -404,6 +404,7 @@ def calculate_position_size_v2(
|
||||
base = calculate_position_size(
|
||||
total_assets, available_cash, current_strategy_allocation,
|
||||
regime, max_per_position, max_strategy_capital_bull, max_strategy_capital_bear,
|
||||
rsi=None, adx=None, # v2에서 자체 보정하므로 base는 배율 없이 계산 (이중 보정 방지)
|
||||
)
|
||||
if base <= 0:
|
||||
return 0.0
|
||||
|
||||
Reference in New Issue
Block a user