ichimoku
The Ichimoku Kinko Hyo skill implements a five-line Japanese technical analysis system that generates trading signals from Tenkan/Kijun line crossovers filtered by cloud position and trend confirmation. Use it to identify high-confidence trend reversals in pandas-based trading systems where strong buy signals require bullish crossovers above an upward cloud, and strong sell signals require bearish crossovers below a downward cloud.
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/ichimoku && cp -r /tmp/ichimoku/agent/src/skills/ichimoku ~/.claude/skills/ichimokuSKILL.md
# Ichimoku Kinko Hyo ## Purpose A standalone Japanese technical analysis framework that uses a five-line system and the cloud to provide a complete trend-evaluation structure: | Line | Japanese | Calculation | Meaning | |----|------|------|------| | Conversion line | Tenkan-sen | (9H+9L)/2 | Short-term trend | | Base line | Kijun-sen | (26H+26L)/2 | Medium-term trend | | Leading Span A | Senkou Span A | (Tenkan+Kijun)/2 shifted forward by 26 | Upper cloud boundary | | Leading Span B | Senkou Span B | (52H+52L)/2 shifted forward by 26 | Lower cloud boundary | | Lagging Span | Chikou Span | Closing price shifted backward by 26 | Trend confirmation | ## Signal Logic Signals are triggered only on TK crossover events, with three filters: - **Strong buy**: bullish TK cross + price above the cloud + bullish cloud (A > B) - **Strong sell**: bearish TK cross + price below the cloud + bearish cloud (A < B) - All other cases → stand aside Warm-up requires 78 candles (52+26). ## Parameters | Parameter | Default | Description | |------|--------|------| | tenkan_period | 9 | Tenkan-sen period | | kijun_period | 26 | Kijun-sen period | | senkou_b_period | 52 | Senkou Span B period | | displacement | 26 | Forward/backward shift period | ## Dependencies ```bash pip install pandas numpy requests ``` ## Signal Convention - `1` = long, `-1` = short, `0` = stand aside
Professional finance research toolkit — backtesting (7 engines + benchmark comparison panel), factor analysis, Alpha Zoo (452 pre-built alphas across qlib158/alpha101/gtja191/academic), options pricing, 77 finance skills, 29 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract → backtest → render) across 7 data sources (tushare, yfinance, okx, akshare, mootdx, ccxt, futu).
ADR/H-share/A-share cross-listing premium analysis — track pricing gaps between US-listed ADRs, HK-listed H-shares, and A-shares for arbitrage signals, dual-listing valuation, and delisting risk assessment.
AKShare financial data aggregator (18k+ stars). Free, no API key. Covers A-shares, US, HK, futures, macro, forex. Primary fallback for tushare and yfinance.
Browse and bench the bundled alpha zoos — prebuilt cross-sectional factor libraries (Kakushadze 101, GTJA 191, Qlib 158, Fama-French / Carhart). Use when the user asks "which alphas exist", wants metadata on a named alpha, or wants to run IC/IR on a whole zoo over a universe.
A 股 ST/*ST 风险预测框架 — 基于最新中报/三季报或业绩预告/快报,预测下一财年是否会因营收、利润、净资产、分红不达标而被风险警示,并将新浪监管处罚记录作为独立证据面纳入风险等级。仅适用于 A 股,不预测财务造假。
Asset allocation theory and optimizer usage — MPT / Black-Litterman / risk budgeting / all-weather strategy, including guides for 4 optimizers and rebalancing rules.
Diagnose failed or underperforming backtests, locate the root cause, and fix the issue
Behavioral finance applications: theories of overreaction and underreaction, behavioral explanations for momentum and reversal, investor sentiment cycles, cognitive-bias checklists, and debiasing quantitative strategies.