An unofficial python API wrapper to retrieve technical analysis from TradingView.
ru.tradingview.com/symbols/MOEX-SBER/technicals/
from tradingview_ta import TA_Handler, Interval, Exchange sber = TA_Handler( symbol="SBER", screener="russia", exchange="MOEX", interval=Interval.INTERVAL_1_DAY ) print(sber.get_analysis().summary) # Example output: {"RECOMMENDATION": "BUY", "BUY": 8, "NEUTRAL": 6, "SELL": 3}
Interval.INTERVAL_1_MINUTE
Interval.INTERVAL_5_MINUTES
Interval.INTERVAL_15_MINUTES
INTERVAL_1_HOUR
Interval.INTERVAL_4_HOURS
Interval.INTERVAL_1_DAY
Interval.INTERVAL_1_WEEK
Interval.INTERVAL_1_MONTH
Documentation
python-tradingview-ta.readthedocs.io/en/latest/overview.html