Circuit

ETH/BTC ratio trading agent

The strategy

Compute the ETH/BTC price ratio from Hyperliquid perp mid prices on completed hourly candles, with a 20-candle rolling mean and standard deviation. When the ratio drops 2 standard deviations below the mean, go long ETH and short BTC with equal position value, 20% of my allocation per leg. When it rises 2 standard deviations above the mean, take the opposite pair. Close both legs when the ratio returns to the mean or moves another 2 standard deviations against the entry. One pair open at a time. Check every hour. Make the lookback, band width, size and exits adjustable.

Build it in one click

Start from this exact spec: "Build an agent to trade the ETH/BTC ratio". Builder turns it into an agent and checks the code. Backtest it on recorded markets and paper trade it on live markets before real money moves. Every number in the spec is a setting.

Keys and permits

Agents run on a wallet you create in Circuit or import by private key. Circuit keeps the signing key in a hardware enclave. Agents never see it. An agent requests typed actions through Circuit's SDK. Nothing is signed without the permit you sign with your passkey when you start the agent.

You can export the private key from Settings at any time. You can pause, resume or stop an agent at any time. Stopping leaves your positions and resting orders in your account. You ask Circuit to close them.

Build it on Circuit

Circuit writes the agent and backtests it. Paper trade it before you fund it.

Build this agent