Triggers
Set conditions, get actions. Horizon’s trigger system evaluates rules each cycle and fires actions when conditions are met. Supports 8 condition types, 5 action types, cooldown periods, and hysteresis to prevent trigger storms. The evaluation logic is pure Rust (stateless); all mutable state lives in the Python closure.Overview
8 Conditions
Above, below, cross above/below, percent change, absolute change, between, outside.
5 Actions
Alert, webhook, order, hedge, kill switch.
Cooldown & Hysteresis
Prevent trigger storms with configurable cooldown and hysteresis bands.
Oracle Server
hz.oracle() exposes feed prices as a JSON HTTP endpoint.