The shared infrastructure every strategy runs on. Each trade flows through five phases โ click any to jump to its capabilities.
Find what's worth trading across 260+ markets.
Score it. Gate it. Confirm conviction.
Open the position with optimal fees.
Defend, then ride. Two phases of risk.
Close cleanly. Audit the trade. Learn.
Finding what's worth trading
Senpi runs four parallel signal layers to filter 260+ live markets โ crypto, equities, commodities, and indices โ down to a handful of opportunities per cycle.
Structured cross-asset analysis across everything Senpi trades โ crypto on the main DEX, plus equities, metals, and indices on the XYZ DEX. Movers, momentum, funding regime, and macro context computed in a single pass, not "BTC is up."
Streaming data pipeline from Hyperliquid's top-trader leaderboard. Rank changes, position-level delta PnL, momentum events, per-market concentration โ all from real trader behavior, not synthetic signals.
Builds cohorts of the most-profitable Hyperliquid wallets and finds where they diverge from the crowd โ per-asset positioning, near-term flow, smart-money-vs-crowd splits. Strategies use the cohort's net direction as an entry gate; you can query it directly.
Ranks the best Hyperliquid track records and vets any individual trader before copying โ historical PnL from days to all-time, current open positions, and 4-hour momentum in one profile. Due diligence, not vibes.
Scoring, gating, and conviction
A surfaced opportunity isn't a trade โ yet. Senpi runs each candidate through configurable confluence gates and risk guard rails before any capital is committed.
Each strategy declares its own gate stack โ price structure, trend, smart-money direction, funding. A trade only fires when every required gate clears, and an optional LLM decision layer can gate the final open. Strict-gate strategies (Cheetah, Condor) trade rarely but high-conviction; relaxed gates (Vulture) trade more often.
Runtime 3.0 reads risk.guard_rails from every runtime.yaml. Position size limits, max leverage, concurrent position slots, asset exclusions โ all enforced at the runtime layer before any order is placed.
Opening the position
When a trade fires, the runtime owns it. Strategy code only returns signals โ the runtime validates, sizes, and executes every order through fee-optimized rails. Every step is logged.
Strategies ship as packages โ a runtime.yaml plus a Python scan(inputs, ctx) the runtime spawns and supervises every interval. The runtime validates and de-duplicates signals, sizes and executes via FEE_OPTIMIZED_LIMIT, enforces guard rails, and runs the two-phase DSL exits. Crash-safe by design: durable dedup and full position reconcile on every restart.
Decides per-trade whether to use FEE_OPTIMIZED_LIMIT (maker rebate, passive fill) versus MARKET orders, based on urgency, spread, and position context. Maker rebates on Hyperliquid can flip the P&L on marginal trades. Compounds at volume.
Cutting losers, riding winners
The DSL Exit Engine is the single most impactful component for long-run P&L. Two phases: defense first, then profit lock. The stop only moves forward.
Closing cleanly, learning from every trade
Exits run through the same fee-optimized rails as entries. Every close carries a reason code and lands in the runtime's event log โ searchable, queryable, and feeding the next iteration of strategy improvement.
Full chronological record of every decision a strategy makes โ signals fired, gates passed or blocked, orders placed, exits triggered with reason codes (dsl_breach, exchange_sl_hit, weak_peak_cutโฆ). One command stitches an asset's entire trade lifecycle into a narrative.
Every capability is exposed as a typed MCP tool. Structured API surface covering the full lifecycle โ discovery through execution through exit. Browse the surface below or use it in the Dojo.
Browse the API surface
Every capability is exposed as a typed tool. Click a category to see its tools โ names and descriptions inline.
Stop reading. Ask the agent.
You've seen the five phases. Pick a starting move and Senpi will run it live โ every tool from this page is on the other side of the chat.