From 11d2260edb296370e061098e7da51724e021bc99 Mon Sep 17 00:00:00 2001 From: bangae1 Date: Mon, 1 Sep 2025 22:06:45 +0900 Subject: [PATCH] =?UTF-8?q?tp=20=EB=B2=94=EC=9C=84=20=EC=A1=B0=EC=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- strategy.js | 4 ++-- test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/strategy.js b/strategy.js index 180e5cf..2d579aa 100644 --- a/strategy.js +++ b/strategy.js @@ -16,13 +16,13 @@ const prompts = { LONG: - 9-EMA > 21-EMA (둘 다 상승). - - RSI14가 40~60 사이이고 이전 캔들 대비 상승하는 경우. + - RSI14가 40 보다 작으며 이전 캔들 대비 상승하는 경우. - Close ≥ VWAP. - Close ≤ 스윙 고점 - ATR14×0.5 (작은 하락 구간). SHORT: - 9-EMA < 21-EMA (둘 다 하락). - - RSI14가 40~60 사이이고 이전 캔들 대비 하락하는 경우. + - RSI14가 60 보다 크며 이전 캔들 대비 하락하는 경우. - Close ≤ VWAP. - Close ≥ 스윙 저점 + ATR14×0.5 (작은 하락 구간). diff --git a/test.js b/test.js index af54753..cb85734 100644 --- a/test.js +++ b/test.js @@ -11,7 +11,7 @@ const ex = new ccxt.bybit({ options: { defaultType: 'swap' } }); -const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 300); +const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 336); const bars = ohlcv.map(c => ({ t: c[0], o: c[1],