kestrel-strategy
Installation
SKILL.md
🦅 KESTREL v2.0 — XYZ Macro Breakout Rider
The first Senpi agent to trade Hyperliquid XYZ DEX (commodities/metals/indices/equities) on a v2 producer architecture.
What v2.0 fixes from v1.x
v1.1 was a v1 full-agency Python scanner that:
- Called
create_positiondirectly (no LLM gate, no chain telemetry) - Used
ensureExecutionAsTaker: falseon entries (resting-on-book bug) - Had over-strict scoring math: MOVE_EXHAUSTION penalty cancelled out 4H alignment, leaving most breakouts below MIN_SCORE 6
v2.0 fixes all three:
Architecture: v2 producer + LLM gate + DSL
kestrel-producer.pyemits scored breakout signals viaSenpiClient.push_signal()(direct HTTP POST). NO execution code.- Runtime LLM gate is regime-aware — applies macro vetoes (BTC drawdown propagating to risk-off equities, vol expansion spikes) the producer can't see.
risk.guard_railsdeclarative — runtime owns daily caps, drawdown halt, cooldowns.- Trade chain DB emits LIFECYCLE / DECISION_EXECUTED / ACTION_RESULT / DSL_CREATED / DSL_CLOSED — first time Kestrel has telemetry.
Related skills