tp 범위 조절

This commit is contained in:
2025-09-06 02:04:27 +09:00
parent bed71de435
commit 9bea54efe3
3 changed files with 11 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ let curPrice = null;
async function bootstrap() {
try {
const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 336);
const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 112);
bars = ohlcv.map(c => ({
t: c[0],
o: c[1],
@@ -84,7 +84,7 @@ function initWs() {
};
bars.push(bar);
if (bars.length > 336) bars.shift();
if (bars.length > 112) bars.shift();
logger.debug('새로운 분봉 수신', {
timestamp: new Date(bar.t).toISOString(),