u/AMGraduate564 ·
Reddit — r/algotrading
· 2026년 6월 24일, 15:27
· ⬆ 17 포인트
· 💬 6 개 댓글
| Reddit에서 보기 ↗
AI 요약
=== 요약 ===
- 게시물은 pandas-ta-classic 라이브러리의 새 버전 출시를 발표하며, 스마트 머니 컨셉 유동성 스윕 지표(smc_sweep)를 추가하고 Ichimoku, MACD Extended, CPR의 버그를 수정합니다.
- 시장 논리나 투자 관점은 제시되지 않으며, 콘텐츠는 순전히 알고리즘 트레이딩 도구를 위한 소프트웨어 업데이트입니다.
- 품질 평가: 이는 기술적 릴리스 노트로, 투자 분석이 아닙니다. 실행 가능한 시장 분석이나 거래 추천을 제공하지 않습니다.
=== 심리 ===
중립
=== 거래 아이디어 ===
이 게시물에는 실행 가능한 거래 아이디어가 없습니다.
점수17
댓글6
추천 %90%
▶ 전체 게시글 텍스트
Hey r/algotrading,
Just merged a batch of changes into [pandas-ta-classic](https://github.com/xgboosted/pandas-ta-classic) (the community-maintained fork of pandas-ta). Here's what dropped since 0.6.20:
---
**🆕 New: Smart Money Concept Liquidity Sweep (`smc_sweep`)**
Detects liquidity sweep candles — the "stop hunt" pattern where price breaks a recent swing high/low, gets rejected, and closes back inside. Returns `+1` (bullish sweep), `-1` (bearish sweep), `0` (none).
```python
df.ta.smc_sweep(length=15, wick_mult=1.5, append=True)
# → SMC_SWEEP_15_1.5 column: +1 / -1 / 0
```
`length` controls the swing lookback, `wick_mult` tunes how aggressive the wick rejection has to be relative to the candle body.
---
**🔧 Ichimoku overhaul**
Multiple bugs fixed in the accessor:
- Returned a tuple instead of a DataFrame — broke `df.ta.ichimoku(append=True)` for anyone not unwrapping
- Span columns had duplicated prefix/suffix in names
- `_mp_worker` had a special-case for ichimoku that conflicted with multiprocessing strategy runs
- New `append_span` parameter lets you optionally include the forward-projected cloud spans in the output
---
**🔧 MACD Extended (`macdext`) silent fallback fixed**
`macdext` was silently falling back twice when `KAMA`/`MAMA` matypes failed validation — you'd ask for one MA type, get a completely different one, no warning. Now it raises on invalid matype instead of guessing.
---
**🔧 CPR now returns `int8` instead of strings**
`CPR_POSITION` and `CPR_WIDTH_CLASS` used to return string labels (`"above_tc"` etc.). Now returns `int8` — plays nicer with vectorbt, numpy operations, and everything that expects numeric columns.
---
**📦 Total: 193 indicators, 62 native CDL patterns (253 unique)**
No TA-Lib required for any CDL pattern. TA-Lib optional for acceleration on 34 core indicators.
Install:
```bash
pip install pandas-ta-classic
```
Feedback welcome, especially on `smc_sweep` — parameter defaults (length=15, wick_mult=1.5) are reasonable starting points but SMC traders might have opinions.
---
*Community maintained. PRs open.*