전략및 버그 수정

This commit is contained in:
2026-02-22 23:51:10 +09:00
parent 7867ced1b6
commit 81c16a8115
4 changed files with 20 additions and 13 deletions

View File

@@ -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