behavioral-finance
Skill này làm gì
Skill này liên kết các lý thuyết thị trường dựa trên tâm lý với các tín hiệu đo lường được. Skill dành cho nhà đầu tư và nhà phân tích muốn hiểu vì sao các mô hình động lượng hoặc đảo chiều xuất hiện và cách kiểm tra chúng.
Khi nào nên dùng
- ✓Khi bạn muốn giải thích vì sao hiệu ứng động lượng hoặc đảo chiều xuất hiện trên một thị trường.
- ✓Khi bạn muốn xây một tín hiệu ngược xu hướng dựa trên tâm lý thị trường cực đoan.
- ✓Khi bạn muốn áp dụng quy tắc khử thiên kiến cho một chiến lược định lượng.
Liên kết skill
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/behavioral-finance/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giải thích vì sao các cổ phiếu có bất ngờ lợi nhuận mạnh vẫn tiếp tục tăng một thời gian, và đề xuất một tín hiệu có thể kiểm tra cho nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent giải thích thiên kiến đằng sau mô hình, như phản ứng chậm trước thông tin mới hoặc ngoại suy các xu hướng gần đây. Sau đó nó đề xuất một tín hiệu có thể đo và kiểm tra trên dữ liệu lịch sử, cùng các kiểm soát rủi ro cần áp dụng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Behavioral Finance Applications
Overview
Translate behavioral-finance theory into quantifiable trading signals and risk-control rules. Core assumption: market participants systematically deviate from rational decision-making, and these biases can be predicted and exploited.
Applicable scenarios:
- Behavioral interpretation and parameter optimization for momentum / reversal strategies
- Contrarian signals when market sentiment becomes extreme
- Debiasing mechanisms in portfolio construction
- Capturing behavior patterns specific to retail-driven China A-share markets
Core Concepts
Overreaction and Underreaction
Underreaction → momentum effect:
Mechanism: anchoring bias + conservatism
Investors anchor on old information and update insufficiently to new information
After an earnings beat, the stock price digests it gradually rather than all at once
China A-share evidence:
- Earnings-guidance beats still produce 3-5% excess return over the following 20 days
- After analyst rating upgrades, momentum often persists for 1-3 months
Quant signal:
SUE (standardized unexpected earnings) > 2σ -> buy and hold for 60 days
Top 10% 20-day return -> continue holding for 20 days (China A-share momentum cycles are shorter)
Overreaction → reversal effect:
Mechanism: representativeness heuristic + availability bias
Investors extrapolate recent trends too aggressively and ignore mean reversion
Panic / euphoria drives reactions beyond what fundamentals support
China A-share evidence:
- Rebounds after consecutive limit-downs (after 3 limit-downs, the average 20-day rebound is 8%)
- Big annual losers often earn 5-10% excess return the next year
Quant signal:
Bottom 10% of 250-day return -> buy and hold for 250 days
RSI(5) < 10 -> short-term rebound signal (5-10 days)
Key distinction:
| Dimension | Underreaction (Momentum) | Overreaction (Reversal) |
|---|---|---|
| Time scale | 1-12 months | <1 week or >12 months |
| Information type | Clear events (earnings / announcements) | Ambiguous information (sentiment / trend) |
| Best China A-share window | 20-60 days | 5-10 days (short term) / 1 year (long term) |
Cognitive Bias Checklist
Individual decision biases:
| Bias | Manifestation | Quant Detection | Debiasing Strategy |
|---|---|---|---|
| Loss aversion | Hold losing stocks, sell winners too early | Holding period: losing positions > winning positions by 2-3x | Pre-set stop-loss line and execute mechanically |
| Overconfidence | Overtrading, concentrated positions | Monthly turnover > 100%, single-stock weight > 30% | Limit the number of trades per month |
| Anchoring effect | Anchoring to entry price / historical highs | Abnormal volume expansion near the entry price | Use relative valuation instead of absolute price |
| Confirmation bias | Focus only on information that supports the existing view | Single-source information, ignoring bearish news | Force reading the opposing view |
| Recency bias | Overweight recent events | Recent gains/losses have too much influence on position size | Lengthen the evaluation window (≥60 days) |
| Framing effect | Same information framed differently leads to different decisions | Decision differences between return format and absolute-PnL format | Evaluate consistently in return space |
Group behavior biases:
| Bias | Manifestation | China A-share Characteristics | Quant Indicator |
|---|---|---|---|
| Herding | Chasing rallies and panic-selling together | Extremely fast sector rotation (3-5 days) | Intra-sector stock correlation > 0.8 |
| Information cascades | Ignoring private information and following public signals | Sector follow-through after a leader stock hits limit-up | Sector return on the day after leader-stock limit-up |
| Attention effect | Buying stocks that attract attention | Explosive turnover in limit-up / news-driven stocks | Abnormal turnover > 3x average |
Investor Sentiment Cycle
Fear -> Caution -> Optimism -> Excitement -> Euphoria -> Denial -> Panic -> Fear
| | | | | | |
Bottom Recovery Mid-uptrend Pre-top Top Early selloff Pre-bottom
Quant sentiment indicators:
1. Closed-end fund discount: discount > 15% -> extreme fear -> buy signal
2. Margin-financing growth: monthly growth > 20% -> euphoria -> reduce position
3. New account openings: weekly openings
Câu hỏi thường gặp
Điều này có đảm bảo lợi nhuận không?
Không. Nó biến lý thuyết thành tín hiệu có thể kiểm tra, và kết quả phải được kiểm chứng trên dữ liệu lịch sử và dữ liệu ngoài mẫu.
Khác nhau giữa phản ứng thái quá và phản ứng thiếu là gì?
Phản ứng thiếu chậm tiếp nhận tin tức và gợi ý động lượng, còn phản ứng thái quá đi quá xa và gợi ý đảo chiều.
Nó có bao quát thị trường Trung Quốc không?
Có. Nó có ghi chú về các mô hình hành vi phổ biến trong thị trường cổ phiếu A do nhà đầu tư cá nhân chi phối.
Chi tiết
Mô tả gốc của tác giả
Behavioral finance applications: theories of overreaction and underreaction, behavioral explanations for momentum and reversal, investor sentiment cycles, cognitive-bias checklists, and debiasing quantitative strategies.
repo: HKUDS/Vibe-Trading
Độ phổ biến
- Sao GitHub
- 37k
- Vị trí xếp hạng
- #7500
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
vibe-trading
37kCho agent của bạn bộ công cụ nghiên cứu tài chính đầy đủ: backtest, phân tích nhân tố, định giá quyền chọn và dữ liệu thị trường nhiều nước.
adr-hshare
37kChỉ cho agent của bạn cách so sánh giá của một công ty Trung Quốc được niêm yết ở nhiều thị trường, như ADR ở Mỹ và cổ phiếu ở Hồng Kông.
akshare
37kCho agent của bạn lấy dữ liệu thị trường miễn phí: cổ phiếu Trung Quốc và toàn cầu, tương lai, ngoại hối, chỉ số kinh tế, không cần API key.
alpha-zoo
37kCho agent của bạn duyệt thư viện nhân tố cổ phiếu dựng sẵn và kiểm tra cả một nhóm nhân tố dự đoán lợi nhuận tốt đến đâu trên thị trường đã chọn.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.