Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code doesn't load everything this plugin declares
skills, which isn't in the repository. Claude Code loads nothing from it and /plugin reports an error (Path not found: … (skills)).Checked against Claude Code 2.1.332.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Composable technical analysis and strategy engine for Rust.
Pure Rust technical indicators with a type-safe strategy composition API. No C dependencies. No FFI. No unsafe in the default build.
Every indicator is verified against TA-Lib reference outputs.
[dependencies]
mantis-ta = "0.6.7"
Feed candles one at a time. Get values out. O(1) per update, zero heap allocations in the hot path.
use mantis_ta::prelude::*;
let mut ema = EMA::new(20);
let mut rsi = RSI::new(14);
for candle in candles.iter() {
if let Some(ema_val) = ema.next(candle) {
println!("EMA(20) = {:.2}", ema_val);
}
if let Some(rsi_val) = rsi.next(candle) {
println!("RSI(14) = {:.2}", rsi_val);
}
}
Compute over a full series at once. Returns Vec<Option<f64>> aligned with input candles (None during warmup).
use mantis_ta::prelude::*;
let sma_values = SMA::new(50).calculate(&candles);
let bb_values = BollingerBands::new(20, 2.0).calculate(&candles);
for (i, bb) in bb_values.iter().enumerate() {
if let Some(bb) = bb {
println!("Bar {}: Upper={:.2} Mid={:.2} Lower={:.2}", i, bb.upper, bb.middle, bb.lower);
}
}
Define complete trading strategies as composable, type-checked rules. Invalid strategies don't compile.
use mantis_ta::prelude::*;
use mantis_ta::strategy::*;
let strategy = Strategy::builder("Golden Cross Momentum")
.timeframe(Timeframe::D1)
.entry(
all_of([
ema(20).crosses_above(ema(50)),
rsi(14).is_between(40.0, 65.0),
volume().is_above(volume_sma(20).scaled(1.5)),
])
)
.exit(
any_of([
ema(20).crosses_below(ema(50)),
rsi(14).is_above(80.0),
])
)
.stop_loss(StopLoss::atr_multiple(14, 2.0))
.take_profit(TakeProfit::atr_multiple(14, 3.0))
.max_position_size_pct(5.0)
.build()?;
// Evaluate against historical data
let signals: Vec<Signal> = strategy.evaluate(&candles)?;
// Or stream live — same strategy, bar by bar
let mut engine = strategy.into_engine();
for candle in live_feed {
match engine.next(&candle) {
Signal::Entry(Side::Long) => { /* open long */ },
Signal::Exit(reason) => { /* close position */ },
Signal::Hold => { /* wait */ },
_ => {}
}
}
Honest simulation with realistic slippage, commissions, and next-bar execution.
use mantis_ta::backtest::*;
let result = backtest(&strategy, &candles, &BacktestConfig::default())?;
println!("Return: {:.2}%", result.metrics.total_return_pct);
println!("Sharpe Ratio: {:.2}", result.metrics.sharpe_ratio);
println!("Max Drawdown: {:.2}%", result.metrics.max_drawdown_pct);
println!("Win Rate: {:.2}%", result.metrics.win_rate_pct);
println!("Trades: {}", result.metrics.total_trades);
v0.5.0 Batch A: SMA · EMA · WMA · DEMA · TEMA · MACD · ADX
v0.6.x Batch B: Ichimoku · Parabolic SAR
Future: Supertrend
v0.5.0 Batch A: RSI · Stochastic · CCI · Williams %R · ROC
v0.6.x Batch B: MFI
v0.5.0 Batch A: Bollinger Bands · ATR · Standard Deviation
v0.6.x Batch B: Keltner Channels
OBV · Volume SMA · VWAP · Accumulation/Distribution
v0.1.0 Tier 1: Pivot Points
v0.6.x Batch B: Donchian Channels
Future: Fibonacci Retracement
See the full indicator list in the API docs.
[dependencies]
mantis-ta = { version = "0.6.7", features = ["strategy", "backtest"] }
| Feature | Default | Description |
|---|---|---|
serde | ✓ | Serialize strategies, indicators, and results to JSON |
strategy | ✓ | Strategy composition engine (v0.2.0+) |
backtest | ✓ | Backtesting engine with metrics (v0.4.0+) |
ndarray | Interop with the ndarray ecosystem | |
full-indicators | All 50+ indicators (default includes 30 most common) | |
simd | SIMD-accelerated batch computation (uses unsafe) | |
all | Everything |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (sha888/mantis-ta) — no native marketplace selected
npx claudepluginhub p/sha888-mantis-taPlugins from other owners that cover similar ground