Skip to content
Data
Skill

/tradingview-reader

Read TradingView desktop app for market data, news, alerts, watchlists, and screener results using opencli (read-only). Use this skill whenever the user wants quotes, options chains, options expiries, screener results across stocks/crypto/forex/futures/bonds,

From plugin
finance-skills
3.1k26 skills
Install
$ npx -y skills add himself65/finance-skills --skill tradingview-reader --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/tradingview-reader

Context preview

The summary Claude sees to decide when to auto-load this skill.

Read TradingView desktop app for market data, news, alerts, watchlists, and screener results using opencli (read-only). Use this skill whenever the user wants quotes, options chains, options expiries, screener results across stocks/crypto/forex/futures/bonds,

SKILL.md

tradingview-reader.SKILL.md
name: tradingview-reader
description: >
  Read TradingView desktop app for market data, news, alerts, watchlists,
  and screener results using opencli (read-only).
  Use this skill whenever the user wants quotes, options chains, options
  expiries, screener results across stocks/crypto/forex/futures/bonds,
  gainers/losers/movers, news headlines or full story bodies, alerts
  (active list, fire log, offline fires), watchlists including colored
  flag lists, symbol search/autocomplete, chart state, or screenshots
  from their local TradingView.app. Triggers include: "options chain for
  X", "IV on Y", "show me SNDK puts", "TV screener for Y sector", "screen
  oversold stocks", "TV gainers", "crypto by market cap", "TradingView
  news on AAPL", "show my watchlists", "red flag list", "list my alerts",
  "what alerts fired", "search TV for nvidia", "what symbol is on my
  chart", "screenshot NVDA chart", "TradingView IV skew", "TV expiries
  for X". This skill is READ-ONLY — it does NOT place trades, modify
  watchlists, or change chart layouts.

TradingView Reader (Read-Only)

Reads TradingView's desktop macOS app for quotes, options chains, and chart state via [opencli](https://github.com/jackwener/opencli) and a CDP attach to the running TradingView.app process. Powered by the `tradingview` plugin in this repo's [`opencli-plugins/tradingview`](https://github.com/himself65/finance-skills/tree/main/opencli-plugins/tradingview) tree (a separate plugin from opencli's built-in adapters, installed via opencli's monorepo subpath syntax).

**This skill is read-only.** Designed for analysis: pulling options chains, checking IV/greeks, capturing chart state. It does NOT place trades, post ideas, modify watchlists, or change chart layouts.

**Important**: Unlike browser-based opencli readers (twitter, linkedin), this one talks directly to a running TradingView desktop app over Chrome DevTools Protocol. The user must (a) have `TradingView.app` installed, and (b) be logged in inside that app. The plugin handles relaunching with the debug port.

**How it works**: data commands harvest session cookies via CDP `Storage.getCookies`, then fire HTTP requests from Node directly. Page-context fetch is blocked by browser CORS preflight even from TradingView's own pages — the desktop app uses Electron's main process (Node network stack) to bypass this, and we replicate that path. No Browser Bridge extension required, no `apps.yaml` registration needed.

---

Step 1: Ensure opencli + Plugin Are Installed and Ready

**Current environment status:**

!`(command -v opencli && opencli tradingview status 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`

If the status above shows `READY`, skip to Step 2. Otherwise:

NOT_INSTALLED — Install opencli

npm install -g @jackwener/opencli

Requires Node.js >= 24 — the `tradingview` plugin installed in the next step declares `engines.node >= 24`.

SETUP_NEEDED — Install the TradingView plugin and launch with CDP

The TradingView adapter is **not** built into opencli — it's a separate plugin:

# Install the plugin
opencli plugin install github:himself65/finance-skills/tradingview

# Relaunch TradingView.app with CDP enabled (one-time per session)
opencli tradingview launch

The `launch` step quits the running TradingView and reopens it with `--remote-debugging-port=9222`. **Warn the user to save chart layouts first** if they have unsaved drawings.

Common setup issues

| Symptom | Fix | |---|---| | `opencli: command not found` | `npm install -g @jackwener/opencli` (Node ≥ 24) | | `Unknown command: tradingview` | `opencli plugin install github:himself65/finance-skills/tradingview` | | `Cannot reach CDP at http://127.0.0.1:9222` | App not launched with debug port — run `opencli tradingview launch` | | `No tradingview.com cookies found` | App is open but logged out — log in inside the desktop app | | `No TradingView tab found` | Open any chart or symbol page in TradingView, then retry | | Empty chain / 0 contracts | Subscription tier on the logged-in account doesn't include options for this symbol |

---

Step 2: Identify What the User Needs

Setup / chart inspection

| User Request | Command | Key Flags | |---|---|---| | Setup / connection check | `opencli tradingview status` | — | | Relaunch app with CDP | `opencli tradingview launch` | `--port 9222` | | What's on the chart | `opencli tradingview chart-state` | `--tab <id>` | | Screenshot a chart | `opencli tradingview screenshot --output ~/charts/nvda.png` | `--tab <id>` |

Quotes + options

| User Request | Command | Key Flags | |---|---|---| | Spot quote | `opencli tradingview quote --ticker X` | `--exchange NASDAQ` | | Options chain (full) | `opencli tradingview options-chain --ticker X` | `--exchange` | | Options chain (one expiry, ATM band) | `opencli tradingview options-chain --ticker X --expiry YYYY-MM-DD` | `--type call\|put`, `--strikes-around-spot N` | | List expiries | `opencli tradingview options-expiries --ticker X` | — |

Screener

| User Request | Command | Key Flags | |---|---|---| | Generic screener (stocks/crypto/forex/futures/bonds) | `opencli tradingview screener --market america --columns ...` | `--filter <json>`, `--sort field:desc`, `--limit N`, `--label-product` | | US stocks with RSI < 30, sorted by volume | `opencli tradingview screener --market america --columns "name,close,RSI\|60,volume" --filter '[{"left":"RSI\|60","operation":"less","right":30}]' --sort volume:desc` | — | | Top crypto by market cap | `opencli tradingview screener --market coin --columns "name,close,change,market_cap_calc" --sort market_cap_calc:desc --limit 50` | — | | Symbol search / autocomplete | `opencli tradingview search --query "nvidia"` | `--type stock\|funds\|crypto\|...`, `--exchange`, `--country` |

News

| User Request | Command | Key Flags | |---|---|---| | Global news headlines | `opencli tradingview

Read more
Ships withfinance-skills

This project is for educational and informational purposes only. Nothing here constitutes financial advice. Always do your own research and consult a qualified financial advisor before making investment decisions.

Get the whole plugin
Stats
3,137
Stars
366
Forks
Active
Maintenance
JavaScript
Language
MIT
License
4d ago
Last commit
4mo ago
Created

Repo: himself65/finance-skills

Other skills on finance-skills.