Docs / Start

The reflex

The trigger, the sizes and every limit, in one table.

The numbers

SettingValueMeaning
tiers30 / 40 / 50how deep a dip must be to count as dangerous, and the share of the reserve spent: 15 % from a 30 % fall, 25 % from 40 %, 35 % from 50 % and beyond
peakWindowSec600length of the "recent high" window
checkEverySec20how often the price is read
claimEverySec300how often fees are collected
cooldownSec120minimum pause between two reflexes
maxBuySol0.5hard cap for one reflex
minDefenseSol0.01below this reserve, no reflex
minClaimSol0.005below this, fees are not collected yet
keepGasSol0.02SOL always left in the wallet for network fees
slippagePct5price move tolerated between quote and execution

What the program can do

What it has no instruction for

Those three actions are the only kinds of transaction in the program. You can read it: runner/conatus.js.

Why tiers and a pause

A reflex that spends everything at once would be gone before the fall is over. A share per move that grows with the dip, with a two-minute pause, leaves energy for the next wave while still reacting harder when it hurts more.