@tradejs/cli 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,7 +160,7 @@ var continuity = async () => {
160
160
  (0, import_time.formatUnix)(gap.ts),
161
161
  gap.diffSeconds
162
162
  );
163
- await (0, import_timescale.deleteCandles)(symbol, interval);
163
+ await (0, import_timescale.deleteCandles)(provider.id, symbol, interval);
164
164
  const reloaded = await connector.kline({
165
165
  symbol,
166
166
  interval: intervalKey,
@@ -43,7 +43,7 @@ var migrateFile = async (file) => {
43
43
  [],
44
44
  projectRoot
45
45
  );
46
- const rows = (0, import_timescale.toRows)(symbol, interval, data);
46
+ const rows = (0, import_timescale.toRows)("bybit", symbol, interval, data);
47
47
  for (let i = 0; i < rows.length; i += BATCH) {
48
48
  await (0, import_timescale.upsertCandles)(rows.slice(i, i + BATCH));
49
49
  }