The library includes over 13,000 fields. You can search for fields by name or label, or retrieve specific categories like technical indicators or recommendations.
Technical indicators can be customized with specific time intervals using the .with_interval(interval) method. Supported intervals include: 1, 5, 15, 30, 60, 120, 240, 1D, 1W, 1M.
from tvscreener import StockScreener, StockField
# Search fields by name
rsi_fields = StockField.search("rsi")
# Get all technical indicator fields
technicals = StockField.technicals()
# Use a technical field with a specific interval (e.g., 1-hour)
rsi_1h = StockField.RELATIVE_STRENGTH_INDEX_14.with_interval("60")
ss = StockScreener()
ss.specific_fields = [
StockField.NAME,
StockField.PRICE,
rsi_1h
]
df = ss.get()