Conditional orders
Limit, stop-loss, take-profit and recurring orders.
Order types
All types are created with create_order.
limittypeBuy or sell when price crosses a level (below / above).
stop_losstypeSell if price falls by a percent (dropPct) or to a level.
take_profittypeSell when price rises by a percent (risePct) or to a level.
recurringtypeBuy a fixed USD amount every interval, up to a budget cap.
Example
“Buy $100 of TSLA if it drops below $190, valid for a week” becomes:
create_order({
"type": "limit",
"side": "buy",
"token": "TSLA",
"amountUsd": 100,
"below": 190,
"expiresIn": "7d",
"wallet": "0x…"
})When it triggers
The prepared transactions appear under Ready to sign in the dashboard and are sent to your webhook as order.triggered. If preparation fails — for example the token became high risk — you get order.skipped with the reason.