Actions21
- Alert Actions
- News Actions
- Chart Actions
- Screener Actions
- Symbol Actions
- Pine Script Actions
- Social Actions
- Analysis Actions
News → Get by Symbol
AI-generatedSummary
Retrieve news articles filtered by a specified trading symbol and optional criteria such as providers, priority, and markets, with configurable options for AI analysis, caching, and database storage.
Inputs
- authentication (required) — Choose the authentication method: Email & Password or OAuth2.
- symbol (required) — Trading symbol to filter news (e.g., BTCUSD, AAPL).
- newsFilters — Optional filters to narrow news by providers (like Reuters, Bloomberg), priority (all, high, medium, low), markets (crypto, stocks, forex, commodities, economics), and limit on maximum number of news items returned.
- options — Additional optional settings including enabling AI-powered analysis, storing results in MongoDB, caching results in Redis with configurable TTL, and connection strings for MongoDB and Redis.
Output shape
a JSON object containing the type ('news'), operation ('getBySymbol'), the queried symbol, an array of news items, count of news items retrieved, and a timestamp; optionally includes AI analysis data, cache metadata, and storage error info if applicable.
The output may include AI-derived insights if enabled, and cached results indication if cache is used. Results can also be stored in MongoDB if configured. Errors during AI analysis or storage are added in output but do not halt execution.