# Send Tvscreener to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tvscreener",
    "name": "Tvscreener",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/Subway-chenyan/tvscreener",
    "canonicalUrl": "https://clawhub.ai/Subway-chenyan/tvscreener",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/tvscreener",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tvscreener",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/README_USAGE.md",
      "references/api/enums.md",
      "references/api/fields.md",
      "references/api/filters.md",
      "references/api/screeners.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "tvscreener",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T09:45:49.228Z",
      "expiresAt": "2026-05-07T09:45:49.228Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tvscreener",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tvscreener",
        "contentDisposition": "attachment; filename=\"tvscreener-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "tvscreener"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tvscreener"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tvscreener",
    "downloadUrl": "https://openagent3.xyz/downloads/tvscreener",
    "agentUrl": "https://openagent3.xyz/skills/tvscreener/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tvscreener/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tvscreener/agent.md"
  }
}
```
## Documentation

### tvscreener

Use this skill for market queries with simple scripts first, then native Python when needed.

### Install

python3 -m pip install -U tvscreener

Python must be >=3.10.

### Quick commands (run from skill root)

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

### Shell quoting notes

Wrap --fields and --filter in single quotes.
If you use interval syntax like FIELD|60, quoting is mandatory to avoid shell pipe parsing.

### Query rules

Core technical set (recommended): 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_RATING
Interval fields syntax: FIELD|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.


Filters: =, !=, >, <, >=, <=

### Troubleshooting

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

Workflow + patterns: references/README_USAGE.md
API details:

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.

### Regression test

bash scripts/test_markets.sh

Covers Tencent (HK), Moutai (A), A-share ETF (510300), and BIDU (US).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Subway-chenyan
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T09:45:49.228Z
- Expires at: 2026-05-07T09:45:49.228Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/tvscreener)
- [Send to Agent page](https://openagent3.xyz/skills/tvscreener/agent)
- [JSON manifest](https://openagent3.xyz/skills/tvscreener/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/tvscreener/agent.md)
- [Download page](https://openagent3.xyz/downloads/tvscreener)