Unofficial TradingView technical analysis API wrapper for Python. Provides buy/sell signals, indicator values, and symbol search. Current version 3.3.0, supports Python >=3.6. Release cadence irregular, focused on adding indicators and fixing TradingView algorithm changes.
pip install tradingview-taNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fetch technical analysis summary and indicators for a symbol.
Use Interval.INTERVAL_1HOUR instead of '1h'.
Access data via analysis.summary, analysis.indicators, analysis.time, analysis.ticker instead of analysis['summary'].
Always verify signals with real chart; consider running in testing mode with a small amount.
Implement your own rate limiting (e.g., 1 request per second). Use proxies if needed.
Check symbol/exchange/screener validity. Add error handling: analysis = handler.get_analysis(); if analysis: print(analysis.summary)
Use valid exchange names from Exchange enum, e.g., Exchange.BINANCE, Exchange.NYSE.
Run 'pip install tradingview-ta' (note the underscore in import vs hyphen in package name).