Skip to content

houseofai/tvscreener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo tradingview screener api library

TradingView Screener API: simple Python library to retrieve data from TradingView Screener

PyPI version Downloads Coverage tradingview-screener.png

Get the results as a Pandas Dataframe

dataframe.png

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)

# or 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()

# ... returns a dataframe with 150 rows by default

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.