매매시 현재가 적용
This commit is contained in:
@@ -1419,8 +1419,8 @@ export interface BacktestSettingsDto {
|
||||
commissionType: 'LINEAR' | 'ZERO';
|
||||
commissionRate: number;
|
||||
slippageRate: number;
|
||||
entryPriceType: 'CLOSE' | 'NEXT_OPEN';
|
||||
exitPriceType: 'CLOSE' | 'NEXT_OPEN';
|
||||
entryPriceType: 'CURRENT' | 'CLOSE' | 'NEXT_OPEN';
|
||||
exitPriceType: 'CURRENT' | 'CLOSE' | 'NEXT_OPEN';
|
||||
positionDirection: 'LONG' | 'SHORT' | 'BOTH';
|
||||
tradeSizeType: 'CAPITAL_PCT' | 'FIXED_AMOUNT';
|
||||
tradeSizeValue: number;
|
||||
@@ -1447,8 +1447,8 @@ export const DEFAULT_BACKTEST_SETTINGS: BacktestSettingsDto = {
|
||||
commissionType: 'LINEAR',
|
||||
commissionRate: 0.0015,
|
||||
slippageRate: 0.0005,
|
||||
entryPriceType: 'CLOSE',
|
||||
exitPriceType: 'CLOSE',
|
||||
entryPriceType: 'CURRENT',
|
||||
exitPriceType: 'CURRENT',
|
||||
positionDirection: 'LONG',
|
||||
tradeSizeType: 'CAPITAL_PCT',
|
||||
tradeSizeValue: 100,
|
||||
|
||||
@@ -432,7 +432,7 @@ export function buildStrategyEvaluationReportModel(opts: {
|
||||
'분석 기간 전체 캔들 기준으로, 최초 매수 이전 매도·최종 매도 이후 매수 시그널은 제외했습니다. '
|
||||
+ '매도는 보유 물량 전량 매도로 가정합니다. '
|
||||
+ (opts.tradeExecutionMode === 'SCAN_SIGNALS'
|
||||
? '체결가: 조건 스캔(봉 종가·DSL 충족).'
|
||||
? '체결가: 조건 스캔(현재가·DSL 충족).'
|
||||
: '체결가: 백테스트 설정(슬리피지·손절/익절·진입/청산가) 반영.'),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@ export const TRADE_EXECUTION_MODE_OPTIONS: {
|
||||
},
|
||||
{
|
||||
value: 'SCAN_SIGNALS',
|
||||
label: '조건 스캔 (봉 종가·DSL 충족)',
|
||||
desc: '차트 마커·조건 패널과 동일. 봉 종가 기준 이상적 체결.',
|
||||
label: '조건 스캔 (현재가·DSL 충족)',
|
||||
desc: '차트 마커·조건 패널과 동일. 시그널 시점 현재가 기준 체결.',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user