Trading Bots / Trench
Solana — newly pooled meme-tokens via JupiterTrench
SI-BOT-TRENCH
Live, risk-gated Solana meme-token execution engine. Discovers newly pooled tokens, screens them through on-chain launch forensics and technicals, and sizes strictly sequential entries — one open position at a time, hard-capped bankroll.
Rent it: email Dave Ask a question first
At a glance
- Market
- Solana — newly pooled meme-tokens via Jupiter
- Language
- Rust (compiled from source)
- Needs
- Solana RPC + WS endpoint, a dedicated wallet keypair, a Jupiter API key (recommended)
- Dry run
- No — there is intentionally no paper mode
What it actually does
- Pulls newly created first pools from Jupiter Tokens V2, keeping up to 500 age-eligible candidates, with 45 in a live price and indicator hot tier (10 of those slots reserved for the newest launches).
- Only considers pools between 1 minute and 2 hours old, and needs roughly 105 seconds of price history (21 five-second candles) before a candidate can pass. It is an early-confirmation entry, not a first-block sniper.
- Applies hard market gates as shipped: at least $1,500 liquidity, a $8,000 to $2.5 million market cap, at least 10 holders, top-10 holders no more than 40%, at least 5 active traders and 2 net buyers in 5 minutes, and a buy/sell ratio between 0.9 and 6.
- Requires signs of growing participation across its recent measurement windows, healthy breadth across the recent-launch universe, and a price trend that clears its EMA, RSI and volatility checks, with a composite score of at least 25.
- Runs launch forensics before a first entry attempt: traces the mint's creation transaction, creator allocation (limit 30%), signer and owner counts (limit 8 each), and repeated use of the same funding wallet across launches (limit 10).
- Screens mint and freeze authorities and dangerous Token-2022 extensions (transfer-fee, permanent-delegate, transfer-hook and others) directly from the mint account.
- Prices every entry and exit through an executable Jupiter route before acting, rejecting anything with price impact above 2.5% or projected round-trip cost above 4.5%, with 2% slippage tolerance on each swap.
- Sizes entries strictly sequentially: exactly 0.025 SOL, one open position at a time, within a 0.10 SOL bankroll cap and a 0.03 SOL wallet reserve.
- Manages exits with a -15% initial stop, ratchets that arm at +25%, +50% and +75% and protect floors of 0%, +15% and +35%, and a sale of enough tokens to recover the original cost at +100%. After that it sells 25% of the remainder at +150%, +200%, +250% and +300%, and trails the rest 18% below its high. It also exits early if liquidity falls 25%, buying flow weakens, the trend breaks, or the price has not expanded after three minutes, and force-exits after 30 minutes.
- Halts on circuit breakers: 1.5% daily loss, 4% weekly loss, 30% drawdown, or 4 losses in a row (a 6-hour halt).
- Sends transactions through your RPC with a capped priority fee. The Jito and Helius fast-delivery routes exist in the code but are switched off in the shipped config.
- Logs every decision, every accepted and rejected candidate with its outcome 5, 15 and 30 minutes later, and every closed trade. A small online model learns from closed trades and only starts to influence entry scores after 20 of them, at a 15% weight.
The settings that decide your risk
| Setting | What it does |
|---|---|
max_bankroll_sol / entry_sol / max_position_sol | total strategy bankroll and per-entry size (shipped: 0.10 / 0.025 / 0.025 SOL) |
max_open_positions | hard cap on concurrent positions; the shipped config allows exactly 1 |
min_sol_reserve | wallet balance kept untouched for fees and rent (shipped: 0.03 SOL) |
max_daily_loss_pct / max_weekly_loss_pct / max_drawdown_pct | circuit breakers that halt trading (shipped: 1.5 / 4 / 30) |
consecutive_loss_halt / halt_secs | losses in a row that halt trading, and for how long (shipped: 4, 6 hours) |
filters.min_liquidity_usd / min_holders / max_top10_pct | entry gates on liquidity, holders and holder concentration (shipped: $1,500 / 10 / 40%) |
forensics.max_creator_initial_pct / max_creation_signers | launch-forensics thresholds for screening likely rugs (shipped: 30% / 8) |
signal.min_score | minimum composite score to enter (shipped: 25) |
exit.initial_stop_pct / trailing_stop_pct / max_hold_secs | exit management (shipped: 15% / 18% / 1,800 s) |
execution.buy_slippage_bps / exit_slippage_bps | swap slippage tolerance (shipped: 200 / 200) |
Credentials and safety
This bot signs Solana transactions, so it needs a full wallet keypair — a Solana keypair has no permission model, unlike an exchange API key, so there is no trade-only setting. Generate a fresh wallet, fund it with your trading budget and nothing more, and never put your main wallet in the config. The keypair is loaded only from the file named by SOLANA_KEYPAIR; it is never embedded in the config file or written to logs.
Specific risk for this bot
Sniping brand-new launches is the highest-variance activity in this market. Most new tokens go to zero, and the launch forensics reduce exposure to obvious rugs without detecting all of them. The shipped entry thresholds are deliberately loose, so the bot trades more often than a stricter setting would. There is no paper-trading mode: every run is real funds from the first trade. The shipped config caps total strategy bankroll at 0.10 SOL, sends only complete 0.025 SOL entries, and allows exactly one open position at a time. No track record of profit exists.
It can lose money, including all of the amount you fund it with. There is no published track record and no guarantee of profit. Start small.
Renting it
Want to rent Trench?
Rentals are arranged by email. Tell Dave which bot you want and for how long (a day, a month, or something else) and you will get a reply with the price and how it works.