Query TradingView screener data for HK, A-share, A-share ETF, and US symbols with deepentropy/tvscreener. Use for stock lookup, technical indicators (price/change/RSI/MACD/volume), symbol filtering, and custom field/filter-based market queries.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tvscreener或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tvscreener⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tvscreener/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: tvscreener description: Query TradingView screener data for HK, A-share, A-share ETF, and US symbols with deepentropy/tvscreener. Use for stock lookup, technical indicators (price/change/RSI/MACD/volume), symbol filtering, and custom field/filter-based market queries. ---
Use this skill for market queries with simple scripts first, then native Python when needed.
python3 -m pip install -U tvscreener
Python must be >=3.10.
> Use Python 3.10+ in your preferred environment (venv/pyenv/system Python).
# Preset single-symbol output (recommended)
python3 scripts/query_symbol.py --symbol HKEX:700 --market HONGKONG
# Custom query (fields + filters)
bash scripts/run_query.sh \
--market CHINA \
--symbol SHSE:600519 \
--fields 'NAME,PRICE,CHANGE_PERCENT,VOLUME,RELATIVE_STRENGTH_INDEX_14,MACD_LEVEL_12_26,MACD_SIGNAL_12_26,MACD_HIST,SIMPLE_MOVING_AVERAGE_20,SIMPLE_MOVING_AVERAGE_50,SIMPLE_MOVING_AVERAGE_200,EXPONENTIAL_MOVING_AVERAGE_20,EXPONENTIAL_MOVING_AVERAGE_50,EXPONENTIAL_MOVING_AVERAGE_200,BOLLINGER_UPPER_BAND_20,BOLLINGER_LOWER_BAND_20,STOCHASTIC_PERCENTK_14_3_3,STOCHASTIC_PERCENTD_14_3_3,AVERAGE_TRUE_RANGE_14,MOVING_AVERAGES_RATING' \
--filter 'NAME=600519'
# Field discovery
python3 scripts/discover_fields.py --keyword macd --limit 20
--fields and --filter in single quotes.FIELD|60, quoting is mandatory to avoid shell pipe parsing.PRICE, CHANGE_PERCENT, VOLUME, RELATIVE_STRENGTH_INDEX_14, MACD_LEVEL_12_26, MACD_SIGNAL_12_26, MACD_HIST, SIMPLE_MOVING_AVERAGE_20/50/200, EXPONENTIAL_MOVING_AVERAGE_20/50/200, BOLLINGER_UPPER_BAND_20, BOLLINGER_LOWER_BAND_20, STOCHASTIC_PERCENTK_14_3_3, STOCHASTIC_PERCENTD_14_3_3, AVERAGE_TRUE_RANGE_14, MOVING_AVERAGES_RATINGFIELD|60 / FIELD|240 (example: RELATIVE_STRENGTH_INDEX_14|60) - Current caveat: interval fields may fail in scripts/custom_query.py with FieldWithInterval attribute errors in some tvscreener versions. - Workaround: run without interval fields, or use scripts/query_symbol.py for stable single-symbol technical snapshots.
=, !=, >, <, >=, <=ImportError: cannot import name 'Market' from 'tvscreener' - Usually caused by mismatched Python/site-packages or multiple Python environments. - Fix: ensure commands and installation use the same Python (3.10+), then reinstall: - python3 -m pip install -U tvscreener
zsh: command not found: 60,... - Cause: unquoted FIELD|60 interpreted as shell pipes. - Fix: single-quote the full --fields string.
references/README_USAGE.md - references/api/screeners.md - references/api/fields.md - references/api/filters.md - references/api/enums.md
If scripts are insufficient, read references and write direct Python using tvscreener native API.
bash scripts/test_markets.sh
Covers Tencent (HK), Moutai (A), A-share ETF (510300), and BIDU (US).
安装 Tvscreener 后,可以对 AI 说这些话来触发它
Help me get started with Tvscreener
Explains what Tvscreener does, walks through the setup, and runs a quick demo based on your current project
Use Tvscreener to query TradingView screener data for HK, A-share, A-share ETF, and U...
Invokes Tvscreener with the right parameters and returns the result directly in the conversation
What can I do with Tvscreener in my finance & investment workflow?
Lists the top use cases for Tvscreener, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/tvscreener/ 目录(个人级,所有项目可用),或 .claude/skills/tvscreener/(项目级)。重启 AI 客户端后,用 /tvscreener 主动调用,或让 AI 根据上下文自动发现并使用。
Tvscreener 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Tvscreener 可免费安装使用。请查阅仓库了解许可证信息。
Query TradingView screener data for HK, A-share, A-share ETF, and US symbols with deepentropy/tvscreener. Use for stock lookup, technical indicators (price/change/RSI/MACD/volume), symbol filtering, and custom field/filter-based market queries.
Tvscreener 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Tvscreener
Identifies repetitive steps in your workflow and sets up Tvscreener to handle them automatically