detect_kline_patterns
Detect common candlestick patterns (hammer, engulfing, morning star, etc.) in stock data. Returns recent patterns with direction and confidence level for trend analysis.
Instructions
偵測股票 K 線型態(錘子、吞噬、晨星、暮星、三白兵、三黑鴉等 13 種常見反轉/持續型態)。回傳最近出現的型態清單及各自方向與信心值。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stockId | Yes | 股票代號,例如 2330 | |
| market | No | 市場 TW 或 US,預設 TW | |
| days | No | 檢視天數,預設 60 | |
| minConfidence | No | 信心值下限 0-1,預設 0.6 |