What changed
The Weaxs stock-analysis-plugin is a newly released toolkit aimed at empowering AI agents with advanced stock research functionalities. It provides a substantial collection of 73 tools and 21 distinct skills, covering a wide array of financial analysis tasks. These include in-depth individual stock analysis, market-wide screening based on multiple factors, and strategy backtesting. The plugin supports a broad range of global markets, specifically A-shares, Hong Kong, US, Japan, South Korea, and Taiwan.
A key feature is its broad compatibility with popular AI agent frameworks. It integrates seamlessly with Pi Agent, Hermes Agent, OpenClaw, and DeepSeek Harness (dsh). Furthermore, it can function as an MCP (Multi-agent Conversation Protocol) server, allowing integration with clients like Claude Desktop, Cursor, and WorkBuddy. The latest release is version v0.2.12.
The toolkit's capabilities are extensive. For individual stock analysis, it can generate reports summarizing market data, technical indicators, financials, fund flows, and news sentiment, while also highlighting data gaps. Market screening allows for multi-factor filtering, such as identifying growth stocks with a PE under 100 billion RMB. Strategy backtesting is supported through YAML-defined conditions, with options for parameter tuning and diagnostics. Post-market analysis includes tracking index movements, sector rotation, limit-up stocks, and overall market sentiment.
It also offers data for value investing, such as valuation ratios, dividend information, shareholder structures, ETF premiums/discounts, and financial report calendars. For portfolio management, it provides tools for concentration analysis, stress testing, and position sizing, without storing account data. The plugin incorporates 18 different methodologies as Skills, ranging from Chan Theory to Elliott Wave Theory, and includes a "dsh Dashboard" for real-time market data within the DeepSeek Harness environment.
Installation requires Python 3.10 or higher. The plugin can be installed via package managers specific to each agent framework (e.g., pi install npm:stock-analysis-plugin for Pi Agent, pip install stock-analysis-plugin for Hermes and MCP clients). Specific setup instructions are provided for each host, including handling virtual environments and script execution.
Why it matters for builders
This plugin democratizes access to sophisticated financial analysis tools for AI developers. By abstracting the complexity of data acquisition and analysis, it allows builders to focus on creating intelligent agent applications that can perform complex financial research and decision-making. The broad compatibility ensures that developers can leverage these capabilities across various agent ecosystems without significant integration hurdles.
Practical impact
Builders can integrate this plugin into their AI agents to automate tasks such as generating investment research reports, identifying trading opportunities through custom screening, and evaluating the performance of trading strategies. For example, an agent could be tasked to "Analyze Kweichow Moutai" or "Screen A-shares for undervalued growth stocks," with the plugin providing the necessary data and analysis. The availability of specific Skills like "Chan Theory" or "Market Review" allows for fine-grained control over the type of analysis performed.
Developers can also utilize the plugin's data fetching tools to build custom dashboards or integrate financial data into other applications. The plugin's support for multiple data sources with failover mechanisms enhances reliability. For agents interacting with users, this means providing more accurate and comprehensive financial insights, leading to more informed user decisions.
Caveats and source limits
The source material indicates that while many features work without API keys, some advanced data sources (like Tushare, Longbridge, Alpha Vantage, Finnhub, SEC filings) require configuration with specific environment variables and API keys. The plugin's performance and data accuracy may depend on the availability and quality of these underlying data sources. Some data, such as A-share daily net buy amounts for northbound funds, is no longer provided by exchanges after August 16, 2024, limiting historical data availability for that specific metric. The "dsh Dashboard" requires the DeepSeek Harness environment. The source also notes that some data providers might be provider_only or have limitations, like delayed QDII fund net values. The plugin is described as a "fresh release," suggesting potential for ongoing development and updates.
Sources
Claim check: 8/8 supported claims - 8 evidence links - 100% avg confidence
- The stock-analysis-plugin offers 73 tools and 21 skills for AI agents to perform stock analysis, screening, and backtesting.supported - github.com
- The plugin supports stock analysis across A-shares, Hong Kong, US, Japan, South Korea, and Taiwan markets.supported - github.com
- The stock-analysis-plugin is compatible with Pi Agent, Hermes Agent, OpenClaw, and DeepSeek Harness (dsh).supported - github.com
- The plugin can be integrated with Claude Desktop, Cursor, and WorkBuddy via MCP.supported - github.com
- The latest release version of the plugin is v0.2.12.supported - github.com
- The plugin requires Python version 3.10 or higher.supported - github.com
- Some advanced data sources require API keys and environment variable configuration.supported - github.com
- A-share daily net buy amounts for northbound funds are no longer provided by exchanges after August 16, 2024.supported - github.com
Caveats
- Single-source caution: verify critical details at the linked source.
Radar score 88/100 - how it was calculated
- Reliability 82: GitHub metadata supports source trust
- Freshness 95: Fresh GitHub release date
- Novelty 77: Fresh GitHub release
- Technical 89: Repository technical metadata
- Developer 96: Developer tooling signals
- Ecosystem 72: Fresh GitHub release
- Confidence 96: Claims have reliable evidence
Discussion
Loading comments...