Funding farm
You need: trading keys on two or more DEXs.
What it does
Every 5 minutes it checks the latest scan of your DEXs and opens hedged positions on the best routes. Each position runs with the same guards as a Pair bot.
A route qualifies when:
- its funding, averaged over 24 hours, meets your minimum rate;
- that funding pays back the fees and spread of opening and closing within a day;
- it paid in most of the last 24 hours, so a one-hour spike doesn't count.
Settings
- DEXs: which DEXs it can use. A DEX another bot is using is picked up once it's free.
- Minimum APR: the funding a route needs before it opens.
- Max positions and margin per leg.
- Stack positions on a DEX: off means one position per DEX. On means a DEX can take another market as long as its free margin covers one more leg.
- Recycle for volume: once a position's funding has paid for closing and reopening it (plus 20%), it closes and reopens. At most every 2 hours.
When positions close
- When funding over 24 hours costs more than closing would, on two checks 15 minutes apart. At current fees that's about −15% APR, so a short dip doesn't trigger it.
- When a guard closes it. The farm then opens the next best route.
- If you close a position yourself, the farm won't reopen that route for 24 hours.
- Stopping or pausing the farm applies to all its positions.