tradingview-screener

Verified·Scanned 2/18/2026

This skill screens markets across multiple asset classes using TradingView data and provides CLI scripts plus YAML-driven signals. It instructs running bash skills/tradingview-screener/install.sh and executing skills/tradingview-screener/.venv/bin/python3 skills/tradingview-screener/scripts/<script>.py, which import tvscreener and call screener.get() to fetch remote data.

from clawhub.ai·v1.1.0·59.4 KB·0 installs
Scanned from 1.1.0 at 4f21027 · Transparency log ↗
$ vett add clawhub.ai/hiehoo/tradingview-screener

TradingView Screener

Screen stocks, crypto, forex, bonds, futures, and coins using TradingView's market data. Zero auth required.

Setup (Run Once)

Before first use, run the install script to create a venv and install dependencies:

bash skills/tradingview-screener/install.sh

This creates .venv/ inside the skill directory with all required packages.

Execution

All scripts use the skill's own venv:

skills/tradingview-screener/.venv/bin/python3 skills/tradingview-screener/scripts/<script>.py [args]

Windows:

skills/tradingview-screener/.venv/Scripts/python.exe skills/tradingview-screener/scripts/<script>.py [args]

Modes

ModeDescriptionScript
ScreenOne-time scan with filters, columns, sortscreen.py
SignalYAML-driven signal detection (pre-filters + computed signals)signal-engine.py

Quick Start

Screen Mode

skills/tradingview-screener/.venv/bin/python3 skills/tradingview-screener/scripts/screen.py \
  --asset-class stock --limit 20 \
  --filters '[{"field":"MARKET_CAPITALIZATION","op":">","value":1000000000}]' \
  --columns NAME,PRICE,CHANGE_PERCENT,VOLUME \
  --sort-by VOLUME --sort-order desc

Signal Mode

# List available signals
skills/tradingview-screener/.venv/bin/python3 skills/tradingview-screener/scripts/signal-engine.py --list

# Run a signal
skills/tradingview-screener/.venv/bin/python3 skills/tradingview-screener/scripts/signal-engine.py --signal golden-cross

Asset Classes

ClassScreenerField Enum
stockStockScreenerStockField
cryptoCryptoScreenerCryptoField
forexForexScreenerForexField
bondBondScreenerBondField
futuresFuturesScreenerFuturesField
coinCoinScreenerCoinField

Signal Types (Computed)

TypeDescriptionKey Params
crossoverFast field crosses slow fieldfast, slow, direction
thresholdField crosses a valuefield, op, value
expressionPandas expression on DataFrameexpr
rangeField between min/max boundsfield, min, max

Filter Operators

>, >=, <, <=, ==, !=, between (value: [min, max]), isin (value: [...])

Common Stock Fields

NAME, PRICE, CHANGE_PERCENT, VOLUME, MARKET_CAPITALIZATION, SECTOR, SIMPLE_MOVING_AVERAGE_50, SIMPLE_MOVING_AVERAGE_200, RELATIVE_STRENGTH_INDEX_14, MACD_LEVEL_12_26, AVERAGE_VOLUME_30_DAY

Use StockField.search("keyword") in Python to discover more fields (13,000+ available).

Pre-built Signals

SignalFileDescription
Golden Crossstate/signals/golden-cross.yamlSMA50 above SMA200 (bullish)
Oversold Bouncestate/signals/oversold-bounce.yamlRSI < 30 + price rising
Volume Breakoutstate/signals/volume-breakout.yamlVolume > 2x avg + momentum

Output Format

**Stock Screener** | 15 results | Sorted by VOLUME desc

| NAME | PRICE | CHANGE_PERCENT | VOLUME |
|------|-------|----------------|--------|
| AAPL | 185.50 | 2.3 | 80000000 |
...

Timeframes

1, 5, 15, 30, 60, 120, 240, 1D, 1W, 1M

Pass --timeframe 60 to apply hourly interval to technical indicators.

References

  • API Guide - Screener types, filters, field discovery
  • Signals Guide - YAML schema, signal type configs
  • Strategy Templates - Pre-built screening strategies
  • Field Presets - Common field groups per asset class