feat: Pair-Typ um Trump-Universum erweitert (LINK/AAVE/ONDO/ENA/SUI/SEI)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 07:44:17 +00:00
parent 896a29bd04
commit 713f4efc3c
6 changed files with 19 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { PAIRS } from '../types';
import { ALL_PAIRS } from '../types';
import { fetchCandles } from '../market/cryptocom';
import { insertCandles, getCoverage } from '../market/candle-store';
import { sql } from '../db/client';
@@ -7,7 +7,7 @@ const M15 = 15 * 60 * 1000;
const TARGET_MONTHS = 36;
const since = Date.now() - TARGET_MONTHS * 30 * 24 * 60 * 60 * 1000;
for (const pair of PAIRS) {
for (const pair of ALL_PAIRS) {
let endTs: number | undefined = undefined;
let total = 0;
let prevOldest: number | undefined = undefined;