tencent-finance
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.
Why use this skill?
Get real-time stock quotes, compare prices, and track A-Shares, US stocks, and HK markets with the Tencent Finance OpenClaw skill. Reliable, fast, and optimized for China.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/pz325/tecent-financeWhat This Skill Does
The Tencent Finance (tfin) skill is an OpenClaw agent tool designed to provide real-time stock market data by interfacing with the Tencent Finance API. It is specifically engineered to perform reliably within mainland China, where many international financial data providers face connectivity issues or aggressive rate-limiting. This tool allows the agent to fetch current prices, detailed market quotes, compare multiple financial assets side-by-side, and search for stock tickers using natural language queries. It supports a diverse range of markets, including US exchanges, China A-Shares, Hong Kong stocks, and major cryptocurrencies.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface provided in your terminal:
clawhub install openclaw/skills/skills/pz325/tecent-finance
Ensure that your environment has Python 3.7+ installed, along with the requests and rich dependencies. For persistent shell access, consider symlinking the execution script to a directory in your PATH (e.g., /usr/local/bin/tfin).
Use Cases
- Market Monitoring: Use the tool to quickly check the pulse of global markets by fetching current prices for portfolios.
- Trend Comparison: Use the compare functionality to visualize the performance gap between major tech stocks or index constituents.
- Investment Research: Extract detailed quote information—such as P/E ratios, market capitalization, and previous close data—to support fundamental analysis.
- Localized Reporting: Ideal for users or automated agents operating within mainland China who require stable, high-availability financial data without the need for proxy services.
Example Prompts
- "Check the current stock price for Tesla (TSLA) and compare it against Nvidia (NVDA)."
- "Search for the stock ticker for Alibaba and provide a detailed quote including market cap and P/E ratio."
- "Get the latest market data for the Shanghai Composite index (sh000001)."
Tips & Limitations
This tool is optimized for stability, but it is important to note that it does not provide historical trend charting or derivative data like options and dividends. Ensure that your stock tickers follow the specific formatting: use prefixes for A-shares (e.g., sh for Shanghai, sz for Shenzhen) and Hong Kong stocks (e.g., hk). If you receive a 'No data found' error, double-check your ticker symbol syntax against the official documentation.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-pz325-tecent-finance": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api