mirror of
https://git.hmsn.ink/coin/bot.git
synced 2026-03-20 00:02:16 +09:00
tp 범위 조절
This commit is contained in:
2
test.js
2
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],
|
||||
|
||||
Reference in New Issue
Block a user