From a67cbee11c56c81909a92f7ec0dc036713cac02d Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 13 Jun 2026 13:52:04 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20WBS-1.3=20entry=5Fstage=20=EB=AC=B4?= =?UTF-8?q?=EA=B4=80=20Time=5FStop=5FDate=20=EB=94=94=ED=8F=B4=ED=8A=B8=20?= =?UTF-8?q?60=EC=9D=BC=20=EC=9E=90=EB=8F=99=20=EC=82=B0=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gas_adapter_parts/gdc_02_account_satellite.gs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gas_adapter_parts/gdc_02_account_satellite.gs b/src/gas_adapter_parts/gdc_02_account_satellite.gs index 8b94192..a95b046 100644 --- a/src/gas_adapter_parts/gdc_02_account_satellite.gs +++ b/src/gas_adapter_parts/gdc_02_account_satellite.gs @@ -504,9 +504,8 @@ function _addTickerGates_(ctx, trailingStopUpdates) { tp2Price = Math.round(avgCost * THRESHOLDS.TP_SAT_2); tp2Qty = q2; } // Time_Stop: stage_1=60D, stage_2=30D - const stageLimit = posRec.entry_stage === "stage_1" ? THRESHOLDS.TIME_STOP_STAGE1 - : posRec.entry_stage === "stage_2" ? THRESHOLDS.TIME_STOP_STAGE2 : null; - if (stageLimit !== null && posRec.entry_date) { + const stageLimit = posRec.entry_stage === "stage_2" ? THRESHOLDS.TIME_STOP_STAGE2 : THRESHOLDS.TIME_STOP_STAGE1; // 기본 60일 + if (posRec.entry_date) { try { const entryMs = new Date(posRec.entry_date).getTime(); if (!isNaN(entryMs)) {