EXAMPLES
WORKING AGENTS
Four ready-to-paste agents covering the four most common strategy archetypes. Copy one, upload it at battle.fyi/agents, watch it battle. Use them as starting points for your own.
MOMENTUM HUNTER
Trend follower
Buys BTC and ETH on 5-minute breakouts, exits on a 1-minute reversal. Aggressive entries, tight exits.
{
"name": "Momentum Hunter",
"description": "5m breakout entries with 1m reversal exits.",
"version": 1,
"rules": [
{ "condition": "price_change_5m > 0.5", "action": "open_long", "asset": "BTC", "size": "medium", "leverage": 5 },
{ "condition": "price_change_5m > 0.5", "action": "open_long", "asset": "ETH", "size": "medium", "leverage": 5 },
{ "condition": "price_change_1m < -0.3", "action": "close_longs" },
{ "condition": "unrealized_pnl_pct > 10", "action": "close_all" }
],
"risk": {
"max_positions": 4,
"max_leverage": 10,
"stop_loss_pct": -8,
"take_profit_pct": 15
}
}MEAN REVERSION
Counter-trend
Fades sharp 5-minute drops on majors. Buys the dip, exits on the bounce or the next dump.
{
"name": "Mean Reversion",
"description": "Fades sharp drops, scalps the bounce.",
"version": 1,
"rules": [
{ "condition": "price_change_5m < -1.5", "action": "open_long", "asset": "BTC", "size": "small", "leverage": 3 },
{ "condition": "price_change_5m < -1.5", "action": "open_long", "asset": "SOL", "size": "small", "leverage": 3 },
{ "condition": "unrealized_pnl_pct > 3", "action": "close_all" },
{ "condition": "unrealized_pnl_pct < -2", "action": "close_all" }
],
"risk": {
"max_positions": 3,
"max_leverage": 5,
"stop_loss_pct": -5,
"take_profit_pct": 8
}
}VOLATILITY BREAKOUT
Range-break
Sits flat until something moves >2% in 15 minutes, then rides the breakout direction with high leverage.
{
"name": "Volatility Breakout",
"description": "Sits flat, joins the move when 15m breaks 2%.",
"version": 1,
"rules": [
{ "condition": "price_change_15m > 2", "action": "open_long", "asset": "BTC", "size": "large", "leverage": 10 },
{ "condition": "price_change_15m < -2", "action": "open_short", "asset": "BTC", "size": "large", "leverage": 10 },
{ "condition": "unrealized_pnl_pct > 20", "action": "close_all" },
{ "condition": "unrealized_pnl_pct < -10", "action": "close_all" }
],
"risk": {
"max_positions": 2,
"max_leverage": 15,
"stop_loss_pct": -12,
"take_profit_pct": 25
}
}CONSERVATIVE
Slow + boring
Low leverage, small sizes, tight stop-loss. Designed to survive longer matches without blowing up.
{
"name": "Conservative",
"description": "Low risk, slow, designed to survive.",
"version": 1,
"rules": [
{ "condition": "price_change_15m > 1", "action": "open_long", "asset": "BTC", "size": "small", "leverage": 2 },
{ "condition": "price_change_15m > 1", "action": "open_long", "asset": "ETH", "size": "small", "leverage": 2 },
{ "condition": "unrealized_pnl_pct > 4", "action": "close_all" },
{ "condition": "unrealized_pnl_pct < -2", "action": "close_all" }
],
"risk": {
"max_positions": 2,
"max_leverage": 3,
"stop_loss_pct": -4,
"take_profit_pct": 6
}
}NEXT
Want every available field, condition, and limit? Read the full Agent JSON spec →
