Initial commit: A-share stock analysis project with screening, backtesting, and multi-factor analysis tools
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
---
|
||||
name: market-overview
|
||||
description: Assess current A-share market environment including index trends, market breadth, sector rotation, and position sizing recommendation
|
||||
---
|
||||
|
||||
## What I Do
|
||||
|
||||
Evaluate the overall A-share market environment to determine:
|
||||
1. Whether the market is favorable for medium-term trading
|
||||
2. Suggested position sizing in RMB (capital-aware, for ~5万 account)
|
||||
3. Current hot sectors and rotation patterns
|
||||
4. Key risk factors
|
||||
|
||||
## Capital Context (CRITICAL)
|
||||
|
||||
**The user has ~5万 RMB capital.** Position sizing must be translated to concrete RMB amounts, not abstract percentages alone.
|
||||
|
||||
### Position Sizing for 5万 Account
|
||||
|
||||
| Signal | Total Position | Max Per Stock | Holding Count |
|
||||
|--------|---------------|---------------|---------------|
|
||||
| **Heavy (bullish)** | ¥35,000–40,000 (70–80%) | ¥10,000–15,000 each | 3–4 positions |
|
||||
| **Moderate (neutral)** | ¥15,000–25,000 (30–50%) | ¥5,000–10,000 each | 2–3 positions |
|
||||
| **Light (bearish)** | <¥15,000 (<30%) | <¥5,000 each | 1–2 positions |
|
||||
|
||||
Always present both: percentage of capital AND the corresponding RMB range.
|
||||
|
||||
## Assessment Dimensions
|
||||
|
||||
### Index Trend
|
||||
- Shanghai Composite (000001), Shenzhen Component (399001), ChiNext (399006)
|
||||
- Direction, strength, and stage of trend
|
||||
- Key support/resistance levels
|
||||
- 20/60-day MA relationship
|
||||
|
||||
### Market Breadth
|
||||
- Advancing vs declining stocks ratio
|
||||
- Volume trend (expanding / contracting)
|
||||
- New highs vs new lows
|
||||
- % of stocks above 20-day MA
|
||||
|
||||
### Sector Rotation
|
||||
- Leading and lagging sectors
|
||||
- Sector fund flow
|
||||
- Continuity of sector trends (how many days in a row?)
|
||||
|
||||
## When to Use Me
|
||||
|
||||
Use when the user asks to:
|
||||
- Check market conditions
|
||||
- Decide position size
|
||||
- Understand sector rotation
|
||||
- Before running any stock screening
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Fetch major index data via `stock-data index`
|
||||
2. Fetch sector performance via `stock-data sector`
|
||||
3. Analyze market breadth indicators
|
||||
4. Identify sector hotspots and rotation signals
|
||||
5. Output a structured market assessment:
|
||||
|
||||
### Output Format
|
||||
|
||||
1. **Market Signal**: Strong / Moderate / Weak — with justification
|
||||
2. **Index Summary**: each index trend + key level
|
||||
3. **Market Breadth**: breadth reading and what it means
|
||||
4. **Hot Sectors**: top 3–5 sectors with momentum
|
||||
5. **Position Recommendation**:
|
||||
- Signal-based allocation in RMB and %
|
||||
- Max per stock in RMB
|
||||
- Suggested holding count
|
||||
6. **Key Risks**: specific market risks to watch this week
|
||||
|
||||
## Risk Disclaimer
|
||||
|
||||
Always remind the user: results are for reference only. Market conditions can change rapidly. Position sizing is a suggestion, not financial advice.
|
||||
Reference in New Issue
Block a user