OpenClaw Stock Analysis
Paste the following prompt into your AI chat to install this skill:
Please install the skill by following the guide at https://skillhub.cn/install/skillhub.md with the identifier @user_756344a1/stock-analysis-openclaw.
About this skill
Core Problem & Solution
In the fast-paced A-share market, investors need to perform rapid, quantitative, and data-driven analysis on individual stocks to aid intra-day decision-making. Relying solely on subjective judgment or a single indicator can overlook bullish/bearish contradictions and struggle to systematically process market news sentiment.
The OpenClaw Stock Analysis system is built to address this. It establishes an automated analysis workflow from data acquisition to a composite score, combining complex multi-indicator technical analysis with quantified news sentiment to provide users with a structured analytical report. The core lies in its Composite Scoring Model (Technical 85% + News Sentiment 15%) and Arbitrage Space Recommendation Algorithm, designed to output quantified strength assessments and reference price levels for trading, rather than vague predictions.
Analysis Workflow & Key Steps
The system's workflow adheres to strict analytical discipline, broken down into key steps:
-
Data Acquisition & Segregation:
- Historical Data: Uses
akshareto fetch K-line data up to the last trading day's close, for calculating all technical indicators. - Real-time Data: Uses the Tencent API to obtain intraday real-time quotes (price, volume, etc.).
- Key Point: The system explicitly differentiates between these two data types. All analysis is based on this distinction, and data timeliness is mandatorily declared in the output.
- Historical Data: Uses
-
Technical Quantitative Assessment:
- Calculates over 10 technical indicators from historical K-lines, including trend-based (
MA,MACD), oscillator-based (KDJ,RSI,WR,CCI), volume-based (VR,CR,OBV), and channel-based (BOLL,BIAS) types. - Each indicator has defined scoring rules (e.g.,
KDJ < 20is in oversold territory and adds points), culminating in a Technical Score with a full mark of 85 points.
- Calculates over 10 technical indicators from historical K-lines, including trend-based (
-
News Sentiment Scoring:
- Scrapes stock-specific news from East Money and performs sentiment scoring via keyword-level weighted matching (e.g., Strong Positive x3.0, Normal Positive x1.0, Weak Positive x0.5).
- Incorporates temporal decay (100% for today, 50% for yesterday, 20% for the day before) and maps the news sentiment to a News Sentiment Score with a full mark of 15 points.
-
Composite Scoring & Output:
- The Technical and News scores are added with their respective weights (total 100) to determine a Scoring Grade (e.g., ≥70 for Strongly Bullish).
- Output strictly follows a "three-part structure": ① Data Facts (script output) → ② Technical Judgment (rule-based interpretation) → ③ Action Reference (conditional advice).
- Must provide specific price levels such as support, resistance, and stop-loss (dynamically calculated based on
BOLLlower band and 20-day low).
-
Batch Arbitrage Screening (V4.0+):
- For a user-provided stock list, runs parallel calculations and ranks them using a dedicated Arbitrage Score Formula (
Technical*40 + Upside Space*25 + News*10 + R/R*15 - Price Increase*10 + ...). - Outputs the TOP 10 recommendations, which include deep analysis such as "accessibility rating."
- For a user-provided stock list, runs parallel calculations and ranks them using a dedicated Arbitrage Score Formula (
Applicable Scope & Important Caveats
This skill is not an "all-in-one" analytical tool; its design and operation have clear boundaries:
- Purely Technical & Sentiment-Driven: Analysis is based entirely on historical price data and news keyword matching. It does not include any fundamental analysis (e.g., PE, PB, ROE, revenue) and cannot obtain real-time capital flow data. Users should not inquire about such information.
- Analysis ≠ Decision: The output is a quantitative reference based on historical data and statistical rules, and it must never replace human judgment. Red lines include: strictly prohibiting predictions of specific price points, prohibiting the use of directive verbs (e.g., "buy"/"sell"), and requiring all conclusions to be framed as conditional advice (e.g., "suggests," "for reference").
- Model & Data Limitations: Indicators exhibit correlations (e.g.,
RSIandKDJ); news keyword matching is prone to misinterpretation (this must be noted in the output); technical indicators may become unreliable for limit-up/limit-down or suspended stocks. While dynamic stop-losses are superior to fixed percentages, they may still underperform in highly volatile sectors like the ChiNext. - Mandatory Output Discipline: Every analysis must declare the data cutoff time, the analysis type, the limitations of the news sentiment score, and include a risk disclaimer (
⚠️ The above analysis is for reference only and does not constitute investment advice.).
Use Cases
- During trading hours, noticing abnormal price movement in a specific STAR Market stock, and needing to immediately obtain its technical indicators (e.g., MACD golden cross status), composite score, and news sentiment risk alerts to decide whether to add it to a watchlist.
- After market close, needing to perform a quick profit/loss analysis on 5 held stocks, checking if technicals are weakening, if there are any sudden negative news events, and getting reference dynamic stop-loss levels.
- From a custom stock list, needing to screen for equities most likely to rebound soon by batch-calculating arbitrage scores for all stocks, outputting the top 10 and providing detailed entry zones and target prices for the top pick.
- To prepare a self-media article on "oversold bounces in small/mid-cap stocks," needing to rapidly obtain quantitative technical scores and news sentiment scores for several qualifying stocks as writing material.
Best For
- Individual investors: seeking an independent, data-driven quantitative view outside their trading terminal to quickly assess a stock's short-term strength/weakness and key risk points.
- Quantitative trading enthusiasts: requiring batch screening and ranking based on technical indicators and sentiment factors to build or validate their short-term arbitrage trading strategies.
- Financial content creators: needing to quickly prepare data-backed views, charts, and risk disclosures on individual stocks for articles, videos, or live streams to enhance professionalism and timeliness.
- Non-financial professionals: holding company stocks or options, needing to evaluate the short-term technical risks and potential opportunities of their holdings without delving into complex chart analysis.
Related Skills
Systematically identify and evaluate the economic moats of listed companies using the Tang Shu Fang investment methodology for long-term investment analysis.
A skill that converts natural language questions into A-stock data queries and returns verifiable structured analysis conclusions, covering multi-dimensional analysis of market trends, fundamentals, and news.
An AI financial copilot by Wind, integrating financial databases and multimodal analysis to provide end-to-end support across investment research, asset allocation, risk control, quant, and report generation.
Searches for latest policies and generates GB/T 9704-2020 compliant official documents (requests or reports) in Word and PDF formats.