Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Settings reference

This page is generated by npm run gen:settings from src/config.js on branch main: the SETTINGS schema (allowed ranges) and loadConfig() (defaults). Don't edit it by hand.
Settings changed in the dashboard are saved per wallet in DATA_DIR and override the environment variables below. They apply on the next check.
Percentages in Exits are percent of the SOL you deposited, not of the token price.

Flip

SettingWhat it doesDefaultAllowed
Flip every % drop
stepPct
env STEP_PCT
How far price must fall below the last flip before the next flip. Converted to bins with each pool's bin step (14% = 15 bins on bin step 100).141 – 50
Fixed bins per flip
stepBins
env STEP_BINS
Forces a fixed number of bins per flip. 0 keeps the automatic % → bins conversion.00 – 500 (whole)
Sell style
scope
env SCOPE
Where flipped token is offered: local = Ladder, full = Reshuffle to entry, fresh = Stack to entry. Each position can override it.locallocal · full · fresh
Smallest flip (SOL)
minTrancheSol
env MIN_TRANCHE_SOL
Skips flips worth less than this, so dust doesn't cost a transaction.0.020 – 10
Color each flip's batch on the bin chart
colorFlips
env COLOR_FLIPS
Dashboard only. Colors each flip's token batch on the bin chart.offon / off
Auto-compound fees after each flip
autoCompound
env AUTO_COMPOUND
After a flip lands, claim the position's fees and add them back in the same transaction.offon / off
Compound only when fees ≥ (SOL)
compoundMinSol
env COMPOUND_MIN_SOL
Skip compounding when fees are worth less than this (or less than 10× the transaction cost).0.0050.001 – 10

Exits

SettingWhat it doesDefaultAllowed
Take profit at +%
tpPct
env TP_PCT
Closes the position when PnL reaches this % of deposited SOL.100.5 – 500
Stop arms at −%
slPct
env SL_PCT
The stop arms when PnL falls to this level. It does not fire yet.101 – 90
Cut after a bounce of (pts)
bouncePct
env BOUNCE_PCT
Once armed, the stop waits for PnL to climb this many points off its low, then closes.30.5 – 50
Hard stop at −% (0 = off)
hardStopPct
env HARD_STOP_PCT
Closes at this loss regardless of any bounce. Must be 0 or ≥ the stop level.300 – 95
Close if above entry for (min, 0 = off)
oorTopMin
env OOR_TOP_MIN
If price sits above your entry bin (all SOL, earning nothing) this long, close and swap leftovers to SOL.00 – 1440
Swap leftover token to SOL after a close
swapToSol
env SWAP_TO_SOL
After a close, swap the token's whole wallet balance to SOL with Jupiter.onon / off

Run

SettingWhat it doesDefaultAllowed
Stop confirmations (checks)
stopConfirmTicks
env STOP_CONFIRM_TICKS
How many checks in a row must agree before a stop fires.21 – 10 (whole)
Take-profit confirmations (checks)
tpConfirmTicks
env TP_CONFIRM_TICKS
How many checks in a row must agree before take profit fires.21 – 10 (whole)
Check positions every (sec)
pollSec
env POLL_SEC
How often the bot reads the RPC for flips, PnL and exits (Wallet & RPC card).305 – 600 (whole)
Look for new positions every (sec)
discoverEverySec
env DISCOVER_EVERY_SEC
How often it asks Meteora's data API for new positions (no RPC load).3010 – 600 (whole)
Max swap slippage (bps)
swapSlippageBps
env SWAP_SLIPPAGE_BPS
Cap on Jupiter Swap v2 auto slippage (300 = 3%). The v1 fallback uses it as a fixed value.30010 – 1500 (whole)
Max swap price impact %
maxSwapImpactPct
env MAX_SWAP_IMPACT_PCT
Refuses a token→SOL swap whose price impact is above this.150.5 – 50
Min swap value (SOL)
minSwapValueSol
env MIN_SWAP_VALUE_SOL
Leftover token worth less than this is not swapped (env/API only, no dashboard field).0.0020 – 1
Fixed / fallback (µlamports/CU)
priorityMicroLamports
env PRIORITY_MICROLAMPORTS
Used in Fixed mode, or when Helius can't estimate.100,0000 – 2,000,000 (whole)
Priority fee
priorityMode
env PRIORITY_MODE
auto = ask Helius for an estimate per transaction; fixed = always use the fixed price.autoauto · fixed
Auto level
priorityLevel
env PRIORITY_LEVEL
Percentile used for flips and opens: Medium 50th, High 75th, VeryHigh 95th.HighMedium · High · VeryHigh
Auto level for closes and exits
closePriorityLevel
env CLOSE_PRIORITY_LEVEL
Percentile used for closes, take profit and stops (speed matters most).VeryHighMedium · High · VeryHigh
Auto cap (µlamports/CU)
priorityMaxMicroLamports
env PRIORITY_MAX_MICROLAMPORTS
Never pays more than this per compute unit, however high the estimate.1,000,0001000 – 5,000,000 (whole)

Alerts

SettingWhat it doesDefaultAllowed
Send alerts to Discord
discordOn
env DISCORD_ALERTS
Master switch for Discord alerts. Off keeps the webhook saved but sends nothing.onon / off
Include simulated (shadow) events
discordIncludeSim
env DISCORD_INCLUDE_SIM
Also send Shadow-mode "would flip / would close" events to Discord.offon / off
Mention on urgent alerts
discordMention
env DISCORD_MENTION
A role <@&id>, user <@id>, @here or @everyone added only to urgent alerts (stop loss, hard stop, failed flips, errors). Tests never ping.noneup to 5 of <@userId>, <@&roleId>, @here, @everyone
Discord: send me
discordKinds
dashboard only
Per-type toggles (entries, flips, exits, risk changes, compound, problems, bot start/stop). Dashboard only.20 of 25 types onon / off per alert type

Opening

SettingWhat it doesDefaultAllowed
Max SOL per open
maxOpenSol
env MAX_OPEN_SOL
Refuses a single open above this (0 = no cap).50 – 1000
Keep in wallet (SOL)
openReserveSol
env OPEN_RESERVE_SOL
SOL always left in the wallet for rent and fees when opening.0.050 – 5
Open slippage %
openSlippagePct
env OPEN_SLIPPAGE_PCT
Price move allowed while an open lands (converted to bins with the bin step).10.1 – 10
Default amount (SOL)
openDefaultSol
env OPEN_DEFAULT_SOL
Pre-filled amount in the Open dialog / order ticket.10.01 – 1000
Default range depth (bins)
openDefaultBins
env OPEN_DEFAULT_BINS
Pre-filled range depth below price in the Open dialog.695 – 499 (whole)

Discovery

SettingWhat it doesDefaultAllowed
Min token 5m vol $
sigMinVol5m
env SIG_MIN_VOL_5M
Hides tokens with less token-wide 5-minute volume (every venue).20000 – 100,000,000
Min TVL $
sigMinTvl
env SIG_MIN_TVL
Hides pools with less total value locked.50000 – 1,000,000,000
Min MC $
sigMinMcap
env SIG_MIN_MCAP
Hides tokens below this market cap.100,0000 – 1,000,000,000,000
Max MC $
sigMaxMcap
env SIG_MAX_MCAP
Hides tokens above this market cap (0 = no cap).50,000,0000 – 1,000,000,000,000
Min base fee %
sigMinBaseFee
env SIG_MIN_BASE_FEE
Hides low-fee pools (majors and stables).0.50 – 10
Jupiter score (min) /100
sigMinOrganicScore
env SIG_MIN_ORGANIC_SCORE
Jupiter organic score, 0–100off0 – 100, blank = off
Holders (min)
sigMinHolders
env SIG_MIN_HOLDERS
off0 – 1,000,000,000, blank = off
Token age (min) h
sigMinTokenAgeH
env SIG_MIN_TOKEN_AGE_H
off0 – 100,000, blank = off
Token age (max) h
sigMaxTokenAgeH
env SIG_MAX_TOKEN_AGE_H
off0 – 100,000, blank = off
Traders 5m (min)
sigMinTraders5m
env SIG_MIN_TRADERS_5M
off0 – 1,000,000, blank = off
Organic volume (min) %
sigMinOrganicPct
env SIG_MIN_ORGANIC_PCT
off0 – 100, blank = off
vs prev 5m (min) ×
sigMinSpike
env SIG_MIN_SPIKE
off0 – 10,000, blank = off
5m price change (min) %
sigMinChg5m
env SIG_MIN_CHG_5M
off-100 – 100,000, blank = off
5m price change (max) %
sigMaxChg5m
env SIG_MAX_CHG_5M
off-100 – 100,000, blank = off
Fee/TVL 5m (min) %
sigMinFeeTvl5m
env SIG_MIN_FEE_TVL_5M
off0 – 100, blank = off
Base fee (max) %
sigMaxBaseFee
env SIG_MAX_BASE_FEE
off0 – 10, blank = off
Pool age (max) h
sigMaxPoolAgeH
env SIG_MAX_POOL_AGE_H
off0 – 100,000, blank = off
Pool 5m volume (min) $
sigMinPoolVol5m
env SIG_MIN_POOL_VOL_5M
off0 – 1,000,000,000, blank = off
Pool share (min) %
sigMinPoolShare
env SIG_MIN_POOL_SHARE
this pool's share of the token's 5m volumeoff0 – 100, blank = off
Bin step
sigBinSteps
env SIG_BIN_STEPS
anylist of whole numbers 1–1000
Launchpad
sigLaunchpads
env SIG_LAUNCHPADS
anylist of names
Verified only
sigVerifiedOnly
env SIG_VERIFIED_ONLY
offon / off
Hide transfer tax
sigHideTransferTax
env SIG_HIDE_TRANSFER_TAX
Token-2022 tokens with a transfer feeoffon / off
List size
sigLimit
env SIG_LIMIT
How many rows Discovery shows.155 – 50 (whole)
Missing data
sigMissing
env SIG_MISSING
hide = a token missing a value fails any filter set on it; show = it stays and is marked.hidehide · show
Presets
sigPresets
dashboard only
Saved filter sets (dashboard only).anyup to the preset limit

Env-only switches

These are not in the dashboard schema but are read from the environment (or .env):
Env varDefaultWhat it does
MODEshadowshadow simulates everything and never signs; live signs. Usually flipped from the dashboard.
ALLOW_LIVEtruefalse caps a deployment at shadow: the dashboard cannot switch to live.
ADOPT_FILLEDconfirmPositions found already holding token need a click (confirm) or are adopted (auto).
WATCH_WALLETemptyWatch any public wallet read-only (shadow only, can never sign).
JUP_SWAP_V2trueUse Jupiter Swap v2 first, v1 as fallback.
PRIORITY_MODE / PRIORITY_LEVELauto / HighSee Run above.
PORT8787Dashboard port.
DASHBOARD_PASSWORDemptyRequired when the dashboard is reachable from the network.
DATA_DIR./dataWhere state, journal and .env live. On Railway, the mounted volume.
TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_IDemptyOptional send-only Telegram alerts.
DISCORD_WEBHOOK_URLemptyDiscord webhook for alerts (a secret; or save it in Settings → Alerts → Discord, which wins).
DISCORD_AVATAR_URLemptyOptional https image for the webhook avatar / embed author.
JUP_API_KEY / GMGN_API_KEYemptyOptional API keys (Jupiter api.jup.ag, GMGN token analytics).