View source
Read the trader and dashboard implementation.
Meet the builder
Explore Julian’s other projects.
What it does
- Reads the live BTC-PERP mid price and order book from Hyperliquid.
- Checks the account’s current position and equity.
- Adds current market sentiment to its analysis.
- Produces a
LONG,SHORT,CLOSE, orPASSdecision. - Repeats the loop and manages the resulting position.
How it uses Aomi
The trader creates oneSession with @aomi-labs/client. Each cycle gives the App current market and account context, then streams the result back to the interface. The surrounding application handles Hyperliquid order signing and submission.
This separation keeps the strategy easy to inspect: Aomi runs the agentic loop, while the product owns its risk threshold, position size, cooldown, and execution rules.