Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Get stock prices, quotes, and compare stocks using Tencent Finance API. No API key required. Supports US stocks, China A-Shares, Hong Kong stocks. Optimized for use in mainland China.
Get stock prices, quotes, and compare stocks using Tencent Finance API. No API key required. Supports US stocks, China A-Shares, Hong Kong stocks. Optimized for use in mainland China.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
A Python CLI for fetching stock data from Tencent Finance API.
✅ No API key required - 无需申请 API Key ✅ Works in mainland China - 针对中国大陆网络环境优化,直接访问腾讯财经 API ✅ Fast & Stable - 比 Yahoo Finance API 更稳定,不受限流影响 ✅ Multi-market support - 支持美股、A股、港股
chmod +x /path/to/skills/tencent-finance/tfin ln -sf /path/to/skills/tencent-finance/tfin /usr/local/bin/tfin # Optional: global access
tfin AAPL # Quick price tfin price AAPL # Same as above
tfin quote MSFT
tfin compare AAPL,MSFT,GOOGL tfin compare TSLA,NVDA
tfin search "tesla" tfin search "bitcoin"
tfin help tfin --help
US stocks: AAPL, MSFT, GOOGL, TSLA, NVDA China A-Shares: sh000001 (上证指数), sz399001 (深证成指), sh600519 (茅台) Hong Kong: hk00700 (腾讯), hk09988 (阿里), hk03690 (美团) Crypto: BTC-USD, ETH-USD
# Quick price check tfin AAPL tfin TSLA # Detailed quote tfin quote NVDA # Compare tech giants tfin compare AAPL,MSFT,GOOGL,META,AMZN # Search tfin search "apple" tfin search "bitcoin" # China stocks tfin sh000001 # 上证指数 tfin quote hk00700 # 腾讯控股
This tool uses Tencent Finance API (腾讯财经 API). Why Tencent API? 在中国大陆网络环境下可直接访问,无需代理 比 Yahoo Finance API 更稳定,不受限流影响 数据覆盖美股、A股、港股等多个市场 Data includes: Current price (实时价格) Price change (absolute & percentage) (涨跌额/涨跌幅) Open, High, Low prices (开盘/最高/最低价) Previous close (昨收) Volume (成交量) Market cap (市值) P/E ratio (市盈率) P/B ratio (市净率)
MarketExampleStatusUS StocksAAPL, TSLA, NVDA✅ SupportedChina A-Sharessh000001, sz399001✅ SupportedHong Konghk00700, hk09988✅ SupportedCryptoBTC-USD, ETH-USD✅ SupportedIndia NSE/BSERELIANCE.NS, TCS.BO❌ Not supported
FeatureYahoo Finance (yfinance)Tencent Finance (tfin)Mainland China AccessOften blocked/restricted✅ Direct accessRate LimitingFrequent✅ StableUS Stocks✅ Supported✅ SupportedChina A-SharesLimited✅ Full supportHong Kong StocksSupported✅ SupportedIndian Stocks✅ Supported❌ Not supportedOptions/DividendsSupported❌ Not supported
Python 3.7+ requests rich pip3 install requests rich
Verify the symbol format Try with prefix: usAAPL instead of AAPL Some international markets may not be supported
Check internet connection Tencent API is optimized for mainland China and generally very stable
MIT License
Created by Menrfa
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.