Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/0xW1re/solvedocs/llms.txt

Use this file to discover all available pages before exploring further.

Alpha Leak uses a phase-gated multi-strategy approach. Different strategies are unlocked as the portfolio balance grows, reflecting the different risk tolerances appropriate at each capital level. Lower phases prioritise capital preservation with conservative targets and tight hold windows; higher phases layer in higher-conviction, higher-multiple strategies.

Phase gating

The trader’s current phase is determined by available balance:
PhaseBalance thresholdMax concurrent positions
10.2 SOL+1
21.0 SOL+2
310.0 SOL+5
Phase gating serves two purposes. First, it prevents over-leveraging at small balances where a single losing streak could wipe the account. Second, it naturally concentrates the trader’s attention on the highest-quality signals when capital is limited, branching into more strategies only once the base has been proven.

Standard strategies

Standard strategies are triggered by wallet-based signals — tracked wallet buys on existing tokens.
StrategyPhaseML thresholdDead thresholdTake profitStop lossMax hold
reach_2x_1h1+80%0.4×60 min
reach_3x_30m2+80%0.4×30 min
reach_2x_10m3+80%0.5×10 min
reach_2x_1h is the core strategy available from phase 1. It targets a 2× move within an hour with a 40% stop loss floor. The longer hold window allows time for a token to develop momentum even if the initial entry was slightly early. reach_3x_30m is a phase 2 strategy targeting faster, larger moves. It unlocks once there is enough capital to run two concurrent positions — the tighter hold window means positions recycle faster. reach_2x_10m is a scalping strategy available at phase 3. It requires the strongest signal quality and exits quickly regardless of outcome.

Genesis strategies

Genesis strategies are triggered by genesis_signal events from the Genesis Watcher — signals generated from the first 60 seconds of a token’s life, before any tracked wallet has necessarily bought it.
StrategyPhaseScore thresholdDead thresholdTake profitStop lossMax hold
genesis_2x_5m1+90%30%0.55×5 min
genesis_3x_30m1+90%50%0.40×30 min
genesis_3x_1h1+90%50%0.40×60 min
genesis_5x_2h1+80%0.35×2 hr
Genesis strategies require higher score thresholds (90% vs 80%) to compensate for the inherently noisier signal — there is less history to work with when scoring a token that is only 60 seconds old. The dead probability veto is also stricter on fast strategies where there is no time to recover from a poor entry. The genesis_5x_2h strategy is the most ambitious: targeting a 5× move within 2 hours with a 35% stop loss floor. It accepts the lower 80% score threshold because the 2-hour hold window gives more time for the thesis to play out.
Genesis strategies are evaluated independently from standard strategies and take precedence when the incoming signal type is genesis_signal. A single signal event will never open more than one position.

Position sizing

Position size is calculated as a percentage of available balance, clamped between a minimum and maximum, and checked against the minimum balance reserve:
size = balance × position_pct
size = max(size, min_position)
size = min(size, max_position)
size = min(size, balance - min_balance_reserve)

if size < min_position: skip trade
Default parameters are 10% of balance per trade, minimum 0.05 SOL, and maximum 2.0 SOL. The minimum balance reserve ensures the circuit breaker’s minimum balance check is never bypassed by sizing. At phase 1 with a 0.2 SOL balance, a typical position is 0.02 SOL. At phase 3 with 15 SOL, a typical position is 1.5 SOL.
If the available balance is close to the minimum balance reserve, the computed size may fall below min_position even though the sizing formula produces a non-zero value. In this case, the trade is skipped entirely rather than executed at a sub-minimum size.

Per-token cooldown

After closing any position — win or loss — the token is placed in a 30-minute cooldown. The trader will not re-enter the same token within this window. This prevents re-entry on tokens that have already pumped and dumped, where the signal system might still be emitting buy signals from wallets who are now stuck holding. The cooldown applies regardless of the reason for the close (take profit, stop loss, timeout, or anti-signal force exit).

Signal source priority

When a signal arrives, the trader checks all eligible strategies in priority order:
  1. Genesis strategies take precedence if the signal type is genesis_signal
  2. Among multiple eligible strategies, the one with the highest priority value in the config is selected
  3. Only one position is opened per signal event — the first eligible strategy wins
This prevents the trader from attempting to open multiple positions on the same token from the same signal event.

Build docs developers (and LLMs) love