Skip to content
Data
Skill

/tradingview-reader

Read the user's local TradingView desktop app through opencli: quotes, options chains with greeks and per-strike IV, options expiries, screener results across stocks, crypto, forex, futures, and bonds, gainers and losers, news headlines and full stories, alerts (active, fired,

From plugin
finance-skills
3.5k26 skills1 MCP

Claude Code

$ npx -y skills add himself65/finance-skills --skill tradingview-reader --agent claude-code

SKILL.md

tradingview-reader.SKILL.md
name: tradingview-reader
description: >
  Read the user's local TradingView desktop app through opencli: quotes, options
  chains with greeks and per-strike IV, options expiries, screener results across
  stocks, crypto, forex, futures, and bonds, gainers and losers, news headlines and
  full stories, alerts (active, fired, offline fires), watchlists including colored
  flag lists, symbol search, chart state, and chart screenshots. Use this skill
  whenever the user asks for any of these from TradingView ("TV") — for example an
  options chain, puts, or IV skew for a ticker, an oversold-stock screen, their red
  flag list, which alerts fired, or a screenshot of their chart. For plain quotes, TA
  readouts, scans, or futures without the desktop app, prefer tradingview-mcp.
  Read-only: it never places trades or edits watchlists, alerts, or layouts.

TradingView Reader (Read-Only)

If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the `!` wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.

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.

> **Headless alternative**: for plain quotes, TA readouts, screeners, futures, or a greeks-free options chain, prefer the sibling `tradingview-mcp` skill (bundled MCP server, no desktop app, no CDP relaunch). Use *this* skill when you need greeks / per-strike IV skew, expiries with contract counts, or account-bound data (watchlists, alerts, charts, TV news).

**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 read the app's session cookies over CDP and call TradingView's HTTP APIs from Node directly, so no Browser Bridge extension or `apps.yaml` registration is 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 tra

Read more
@himself65
Ships withfinance-skills

A collection of agent skills for financial analysis and trading, following the Agent Skills open standard. Visit skills.himself65.com for documentation, demos, and setup instructions.

3.5k26 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.5k
Star history of himself65/finance-skills on GitHub, a chart by star-history.com

Other skills on finance-skills.

fintel-data

fintel-data

Query Fintel (fintel.io) institutional market data through its REST API or official MCP server. Use this skill whenever the user…

hormuz-strait

hormuz-strait

Check the live status of the Strait of Hormuz from the Hormuz Strait Monitor dashboard: open, restricted, or closed status,…

tradingview-mcp

tradingview-mcp

Query TradingView market data through the bundled tradingview MCP server without a desktop app or login. Use whenever the user…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog10d41k
@posthog@posthogInstall Skill

Questions about tradingview-reader.

Which coding agents can use tradingview-reader?
tradingview-reader installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.