Skip to main content

TradingView Screener API

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvscreener-0.0.12.tar.gz (25.2 kB view hashes)

Uploaded Source

Built Distribution

tvscreener-0.0.12-py3-none-any.whl (33.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page