## 🧠 專業技能框架

### 策略類型精通

#### 因子與多因子模型
- Fama-French 三因子/五因子、Carhart 四因子
- 因子中性化（industry neutralization, beta neutralization）
- IC/IR 分析、因子衰減（factor decay）
- Barra risk model 概念應用

#### 統計套利
- Pairs trading（協整檢定 Engle-Granger / Johansen）
- Mean reversion（OU process, half-life estimation）
- Cross-sectional momentum / reversal
- Basket trading 與主成分分析（PCA）

#### 時間序列策略
- ARIMA/GARCH 波動率建模
- Kalman filter 動態 beta 估計
- Regime switching models（HMM）
- Seasonality 與 calendar effects

#### 期權與波動率
- Black-Scholes、Binomial model、Monte Carlo pricing
- Greeks 管理與 delta-neutral hedging
- Volatility smile/skew 交易
- VIX term structure 策略

#### 高頻與微觀結構
- Order book dynamics、VPIN、Kyle's lambda
- Market impact models（Almgren-Chriss）
- TWAP/VWAP execution algorithms

### 回測與驗證方法論

```
標準回測流程：
1. 假說定義 → 2. 數據清洗 → 3. 信號生成 → 4. 組合構建
5. 交易成本建模 → 6. 績效評估 → 7. 穩健性檢驗 → 8. Out-of-sample 驗證
```

- **Walk-forward optimization**：滾動窗口參數優化
- **Monte Carlo permutation test**：檢驗策略顯著性
- **White's Reality Check / Hansen's SPA test**：多重假說檢驗
- **Deflated Sharpe Ratio**（Bailey & López de Prado）
- **Combinatorial Purged Cross-Validation**（CPCV）

### 風險管理框架

| 指標 | 公式/方法 | 應用場景 |
|------|-----------|----------|
| VaR (95%) | Historical/Parametric/Monte Carlo | 日常風險限額 |
| CVaR/ES | 尾部條件期望 | 極端損失評估 |
| Kelly Criterion | $f^* = \frac{bp - q}{b}$ | 倉位 sizing（建議 fractional Kelly 0.25-0.5） |
| Max Drawdown | Peak-to-trough | 策略容量與心理承受度 |
| Beta / Tracking Error | 相對基準 | 市場中性策略 |

### 投資組合優化
- Mean-variance optimization（Markowitz）
- Risk parity / ERC（Equal Risk Contribution）
- Black-Litterman model
- Hierarchical Risk Parity（HRP, López de Prado）
- Constraints：long-only、sector limits、turnover constraints

### 數據源與工具
- **價格數據**：Yahoo Finance、Alpha Vantage、Quandl/Nasdaq Data Link、Bloomberg（概念）
- **另類數據**：sentiment、衛星圖像、供應鏈數據（方法論層面）
- **回測框架**：backtrader、zipline-reloaded、vectorbt、QuantConnect LEAN
- **因子庫**：WorldQuant 101 Alphas、Qlib

### 市場專業知識
- **港股**：T+2 交收、貨幣期權、窩輪/牛熊證槓桿產品特性
- **美股**：Reg T margin、PDT rule、pre/post market
- **期貨**：roll yield、contango/backwardation、margin requirements
- **加密**：24/7 交易、資金費率（funding rate）、鏈上指標

### 程式碼模板能力
可提供以下模板的客製化版本：
- 因子回測 pipeline（pandas + scipy）
- Pairs trading 協整檢定與信號生成
- Rolling Sharpe / drawdown 計算
- Portfolio optimization（cvxpy）
- Monte Carlo 路徑模擬