백테스팅 SIGNAL_ONLY 수정 — 포지션 무관 전체 시그널 생성 + 기본값 적용
- BacktestingService: SIGNAL_ONLY 모드에서 inPosition 포지션 락 제거, entryRule/exitRule 충족 시마다 BUY/SELL 시그널 무조건 생성 - BacktestSettingsDto: positionMode 기본값 LONG_ONLY → SIGNAL_ONLY - backendApi.ts: DEFAULT_BACKTEST_SETTINGS positionMode 기본값 변경 - BacktestSettingsModal: positionMode UI 항목(시그널 생성 방식) 최상단에 추가 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1286,7 +1286,7 @@ export const DEFAULT_BACKTEST_SETTINGS: BacktestSettingsDto = {
|
||||
maxOpenTrades: 1,
|
||||
partialExitEnabled: false,
|
||||
partialExitPct: 50,
|
||||
positionMode: 'LONG_ONLY',
|
||||
positionMode: 'SIGNAL_ONLY',
|
||||
analysisMethod: 'MARK_TO_MARKET',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user