klse-historylisted
Install: claude install-skill kensongan-prog/trading-advisor
# KLSE History & Indicators Skill
## When to use
Trigger this skill for KLSE work that needs **any of the following**:
- A multi-day / multi-week chart picture (trend, structure, swing highs/lows).
- Computed technical indicators: RSI(14), SMA20/50/200, ATR(14).
- ATR-based stop placement.
- Historical drawdown context, period change, or volume regime.
- Confluence check on a snapshot from `klse-quote`.
Do NOT trigger for:
- A pure fundamentals look-up (P/E, EPS, dividend yield) — use `klse-quote` instead.
- US tickers, crypto, FX — use the Massive MCP.
## Why this exists
The project's primary market-data MCP (Massive) does not cover Bursa Malaysia. The `klse-quote` skill gives a snapshot but no history. Without history you cannot run playbook P1 (Trend Pullback) or place an ATR-based stop on a KLSE name — both required by `rules/risk-doctrine.md`. This skill closes that gap.
Data source is **yfinance** (Yahoo Finance backend). It is free, reasonably reliable for daily bars on liquid KLSE names, and returns real, timestamped data — never memory.
## How to use
The skill ships with a single Python script: `klse_history.py`. Invoke it via the Bash tool.
### Common invocations
**Standard daily history + full indicator suite (default 6mo window):**
```
python3 .claude/skills/klse-history/klse_history.py \
--ticker 1155 \
--period 6mo \
--indicators rsi,sma20,sma50,sma200,atr14 \
--rows 10
```
**Long window (needed for SMA200 to fill):**
```
python3 .claude/skil