매매실행 방식 설정 추가

This commit is contained in:
Macbook
2026-06-20 09:59:18 +09:00
parent fd63c101e5
commit 8bf157137a
12 changed files with 195 additions and 21 deletions
+3
View File
@@ -1436,6 +1436,8 @@ export interface BacktestSettingsDto {
positionMode?: 'LONG_ONLY' | 'SIGNAL_ONLY';
/** MARK_TO_MARKET | REALIZED_ONLY — 투자분석 방식 */
analysisMethod?: 'MARK_TO_MARKET' | 'REALIZED_ONLY';
/** SCAN_SIGNALS | BACKTEST_ENGINE — 매매 체결·시그널 생성 방식 */
tradeExecutionMode?: 'SCAN_SIGNALS' | 'BACKTEST_ENGINE';
}
export const DEFAULT_BACKTEST_SETTINGS: BacktestSettingsDto = {
@@ -1460,6 +1462,7 @@ export const DEFAULT_BACKTEST_SETTINGS: BacktestSettingsDto = {
partialExitPct: 50,
positionMode: 'LONG_ONLY',
analysisMethod: 'MARK_TO_MARKET',
tradeExecutionMode: 'BACKTEST_ENGINE',
};
/** 백테스팅 설정 로드 */