Guides
Automations
Standing strategies the worker executes with the agent wallet.
Kinds
| Kind | What it does | Fields |
|---|---|---|
| dca | Buys a fixed amount on an interval, N times. | tokenIn, tokenOut, amountIn, intervalSec, runs |
| limit | Buys once when the USD price crosses a trigger. | tokenIn, tokenOut, amountIn, triggerPriceUsd, direction: below|above |
| sniper | Buys each newly indexed token that matches a filter. | amountIn, runs, match: { venue?, quoteSymbol?, symbolContains? } |
bash
POST https://squire-henna.vercel.app/api/v1/automations { "agent_id": "…", "kind": "dca", "tokenIn": "ETH", "tokenOut": "0x…", "amountIn": "0.005", "intervalSec": 3600, "runs": 24, "slippageBps": 100 }
GET https://squire-henna.vercel.app/api/v1/automations?agentId=…
PATCH https://squire-henna.vercel.app/api/v1/automations/:id { "status": "paused" }
DELETE https://squire-henna.vercel.app/api/v1/automations/:idThey move real funds
Automations run unattended with the agent wallet. Size them small, and remember they only execute while the platform's automation runner is enabled.
