Senpi Trading Runtime

How a Senpi trading strategy interacts with the runtime engine (@senpi-ai/runtime) on Hyperliquid: a strategy runs from a runtime.yaml pointing at a Python module that exports scan(inputs, ctx), which the runtime supervises and calls each interval, then owns execution, risk guard_rails, and two-phase DSL trailing-stop exits. Use when working with runtime.yaml, the scan(inputs, ctx) contract, external_scanner, ctx, or the DSL exit engine — including verifying open positions are protected by DSL (have a working stop-loss). The shared runtime contract the lifecycle skills reference. NOT for building, installing, or picking a strategy (→ senpi-strategy-author / senpi-strategy-ops / senpi-strategy-discover).

jiayaoqijia Updated

File contents

jiayaoqijia/cryptoskill/tree/main/skills/exchanges/senpi-ai-senpi-trading-runtime commit a9b48d82cb

Frequently asked questions

npx skillmds@latest add jiayaoqijia/senpi-trading-runtime