This commit is contained in:
KienVT9 2025-07-08 18:03:45 +07:00
parent 55ad0607f3
commit dbf3b758fe

View file

@ -10,7 +10,6 @@ async function analyzeCandlesJob(symbol: string, interval: KlineIntervalV3) {
// TODO: Lấy client thật nếu cần
const candles = await bybitService.getCandles({ symbol, interval, category: 'linear', limit: 200 });
const analysis = indicatorService.analyze(candles);
console.log(`[${new Date().toISOString()}] Phân tích nến ${symbol} ${interval}:`, analysis);
await sendLarkMessage('oc_f9b2e8f0309ecab0c94e3e134b0ddd29', JSON.stringify(analysis));
// Có thể gửi kết quả qua Lark, lưu DB, ...
}