Actions21
- Alert Actions
- News Actions
- Chart Actions
- Screener Actions
- Symbol Actions
- Pine Script Actions
- Social Actions
- Analysis Actions
Chart → Get Data
AI-generatedSummary
Fetch chart data for a specified trading symbol and timeframe from TradingView, optionally applying AI analysis and caching or storing results.
Inputs
- Authentication — Choose between 'Email & Password' or 'OAuth2' authentication methods to access TradingView data.
- Symbol (required) — Set the trading symbol to analyze, e.g., BTCUSD, AAPL, EURUSD.
- Timeframe (required) — Select the timeframe for the chart data, such as 1 Minute, 5 Minutes, up to 1 Month.
- Options — Configure additional options including enabling AI-powered analysis, storing results in MongoDB, caching results in Redis, cache TTL in seconds, and connection strings for MongoDB and Redis.
Output shape
a single JSON object containing chart data with fields: type ('chart'), operation ('getData'), symbol, timeframe, data (the chart dataset), timestamp, and optionally aiAnalysis if AI analysis is enabled, plus metadata like _cached and _cacheTime if results were served from cache.
Results can be cached in Redis for faster access and/or stored in MongoDB for historical analysis based on options. AI analysis is performed unless disabled. Each input item produces a corresponding output item. Cache keys are generated uniquely per symbol, timeframe, and other parameters. Errors are handled per item based on node settings.