Technical Indicators
Overview
Fetch technical analysis indicators (RSI, MACD, etc.) for any symbol on any exchange.
Supported Data
See Supported Data for valid exchanges, timeframes, and indicators.
Input Specification
Constructor
Scrape Method
| Parameter | Type | Default | Description |
|---|---|---|---|
exchange |
str | "BITSTAMP" | Valid exchange (e.g., "BINANCE") |
symbol |
str | "BTCUSD" | Trading symbol |
timeframe |
str | "1m" | 1m, 5m, 1h, 1d, etc. |
indicators |
List[str] | None | Specific indicators (e.g., ["RSI", "MACD.macd"]) |
allIndicators |
bool | False | If True, fetches all available indicators |
Constraints
- Exchange: Must be a valid exchange from Supported Exchanges
- Timeframe: Must be one of the supported timeframes from Supported Timeframes
- Indicators: Must be valid indicator names from Supported Indicators
- Conditional:
indicatorscannot be empty unlessallIndicators=True.
Output Specification
Returns a dictionary with status and data.
Usage Examples
from tradingview_scraper.symbols.technicals import Indicators
scraper = Indicators()
# Specific indicators
data = scraper.scrape(
exchange="BINANCE",
symbol="BTCUSDT",
timeframe="4h",
indicators=["RSI", "EMA50"]
)
print(data)
# All indicators
full_data = scraper.scrape(
exchange="COINBASE",
symbol="ETHUSD",
timeframe="1d",
allIndicators=True
)