TradingView Screener API: simple Python library to retrieve data from TradingView Screener
Get the results as a Pandas Dataframe
Main Features
- Query Stock, Forex and Crypto Screener
- All the fields available: ~300 fields - even hidden ones)
- Any time interval (
no need to be a registered user
- 1D, 5m, 1h, etc.) - Filters by any fields, symbols, markets, countries, etc.
- Get the results as a Pandas Dataframe
Installation
The source code is currently hosted on GitHub at:
https://github.com/houseofai/tvscreener
Binary installers for the latest released version are available at the Python
Package Index (PyPI)
pip install tvscreener
From pip + GitHub:
$ pip install git+https://github.com/houseofai/tradingview-screener@main
Usage
For Stocks screener:
import tvscreener as tvs
ss = tvs.StockScreener()
df = ss.get()
For Forex screener:
import tvscreener as tvs
fs = tvs.ForexScreener()
df = fs.get()
For Crypto screener:
import tvscreener as tvs
cs = tvs.CryptoScreener()
df = cs.get()
Parameters
For Options and Filters, please check the notebooks for examples.