update
This commit is contained in:
parent
55ad0607f3
commit
dbf3b758fe
1 changed files with 0 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ async function analyzeCandlesJob(symbol: string, interval: KlineIntervalV3) {
|
||||||
// TODO: Lấy client thật nếu cần
|
// TODO: Lấy client thật nếu cần
|
||||||
const candles = await bybitService.getCandles({ symbol, interval, category: 'linear', limit: 200 });
|
const candles = await bybitService.getCandles({ symbol, interval, category: 'linear', limit: 200 });
|
||||||
const analysis = indicatorService.analyze(candles);
|
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));
|
await sendLarkMessage('oc_f9b2e8f0309ecab0c94e3e134b0ddd29', JSON.stringify(analysis));
|
||||||
// Có thể gửi kết quả qua Lark, lưu DB, ...
|
// Có thể gửi kết quả qua Lark, lưu DB, ...
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue