TradingView Ultimate icon

TradingView Ultimate

Ultimate TradingView integration with AI analysis, real-time data, and comprehensive market insights

Symbol → Get Info

AI-generated

Summary

Retrieve detailed information about a specified trading symbol from TradingView, optionally enriched with AI analysis and cached or stored for performance and historical access.

Inputs

  • Authentication — Choose authentication method: 'Email & Password' or 'OAuth2'. Defaults to 'Email & Password'.
  • Symbol (required) — The trading symbol to retrieve information for, e.g., BTCUSD, AAPL, EURUSD.
  • Options — Optional settings including enabling AI analysis (default true), caching results in Redis with configurable TTL (default 3600 seconds), storing results in MongoDB for historical analysis, and connection strings for Redis and MongoDB.

Output shape

A single JSON object containing the symbol info including raw data from TradingView, a timestamp, and, if enabled, AI analysis results as an 'aiAnalysis' field, plus possible metadata indicating cache status or storage errors.

Results may be served from Redis cache if caching is enabled, marked by an '_cached' flag and a '_cacheTime' timestamp. If storing in MongoDB is enabled, results are saved with operation metadata and execution context. AI analysis is performed after data retrieval unless the result is from cache. Errors during AI analysis or storage are captured in the output. Processing occurs per input item when handling multiple inputs.

Examples

Example 1: Fetching symbol info for BTCUSD with AI analysis enabled and caching active.

Authentication: Email & Password (default), Symbol: 'BTCUSD', Options: useAI=true, cacheResults=true, cacheTtl=3600, storeInDb=false.

Example 2: Retrieving symbol info for AAPL without AI analysis, storing results in MongoDB for historical use.

Authentication: OAuth2, Symbol: 'AAPL', Options: useAI=false, storeInDb=true, mongoUrl provided, cacheResults=false.

Discussion