Building agents

Strategies

Momentum, Mean reversion and Custom rules: what each one buys, when it sells, and every indicator you can use.

Every agent has one strategy. Pick a preset, or build your own rules in the Studio. Whatever you choose, the stop loss and the max per token always apply.

Momentum

Follows strong moves: it buys a token that is already rising and sells once the trend breaks.

BuyPrice is above its 48h average and up more than 3% in 24 hours
SellPrice falls more than 3% below its 48h average

Works best in markets that keep going one way. In choppy markets it can buy late and sell early.

Mean reversion

Buys unusual dips and sells the rebound, betting that a price far from normal tends to come back.

BuyZ score against the 48h average is below −2.5 (an unusually deep dip)
SellZ score is back to +0.5 or higher (back above the average)

Works best in markets that move sideways. In a steady fall it can buy too early, which is what the stop loss is for.

Custom rules

Write your own buy and sell rules with the same building blocks the presets use. A rule is a list of conditions:

  • Buy rules and sell rules each take up to 3 conditions.
  • Each list is joined with all (every condition must be true) or any (one is enough).
  • A condition compares an indicator with a number or with another indicator, using above, below, crosses above or crosses below. “Crosses” is only true in the hour the line is crossed.
  • Price lines (Average, Highest, Lowest) can be shifted by a percentage, for example 2% below the 48h average.
  • Two optional exits: a take profit (sell once the price is a set percentage above entry) and a max holding time in hours.

Indicators

IndicatorWhat it measuresPeriods
PriceThe latest hourly close.None
AverageThe average close over the period (a simple moving average).12, 24, 48, 72 hours
HighestThe highest close in the period before this hour, so the price can break above it.12, 24, 48, 72 hours
LowestThe lowest close in the period before this hour.12, 24, 48, 72 hours
ChangeHow much the price moved over the period, in percent.1, 4, 12, 24, 48, 72 hours
Z scoreHow unusual the price is: how many standard deviations it sits from the period's average. Below −2 is a rare dip.24, 48, 72 hours
RSIRelative strength, 0 to 100. Under 30 often means oversold, over 70 overbought.14, 24 hours

Example: breakout

The Studio has this one as a template. It buys when a token breaks out to a new 3 day high.

BuyPrice crosses above the 72h highest
SellPrice is below the 48h average minus 2%
ExitTake profit at +12%

Example: RSI dip

Buy24h RSI is below 30
Sell24h RSI is above 55
ExitTake profit at +6%, or after 72 hours

Prefer to describe it in words? The Studio's prompt mode turns a sentence into rules like these, which you can read and edit before launching.

Limits on every agent

  • Stop loss, 2% to 25%: sells a position that falls this far below its entry price. It runs before the strategy, every hour.
  • Max per token, 10% to 100%: the largest share of the agent's value one token may take when it buys.
  • Markets: one to three per agent, stocks and crypto can mix.

Tips for better strategies

  • Trade less. Each trade costs 0.5% each way. When the presets were tuned, faster settings traded over 100 times a month and lost to costs.
  • Beat holding, not zero. A strategy that made 2% while holding made 5% did worse than doing nothing. The Studio always shows both.
  • Don't tune to one month. Settings that look perfect on the last 30 days often fit noise. Prefer simple rules that make sense on their own.

Log in or sign up

Email and Google accounts get a wallet automatically. Browser wallets like MetaMask and Rabby work too. Signing in is free and never moves funds.