Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Subscribe and unsubscribe from news events
socket.emit('news:subscribe', { minImportance: 7, symbol: 'AAPL', limit: 20, startDate: '2024-01-01T00:00:00.000Z', endDate: '2024-01-31T23:59:59.999Z' });
minImportance
symbol
limit
startDate
endDate
socket.on('news:subscribed', (confirmation) => { console.log('Subscription confirmed:', confirmation); });
{ "type": "news", "params": { "limit": 20, "minImportance": 7, "symbol": "AAPL" }, "message": "Successfully subscribed to news feed - 실시간 업데이트 활성화됨" }
// Unsubscribe from specific symbol socket.emit('news:unsubscribe', { symbol: 'AAPL' }); // Unsubscribe from all news socket.emit('news:unsubscribe:all');
// Subscribe to high-importance general news socket.emit('news:subscribe', { minImportance: 9 }); // Subscribe to AAPL news socket.emit('news:subscribe', { symbol: 'AAPL', minImportance: 6 });