簡介
For Traders
Snipe Solana tokens the moment they crack the OKX 1-hour gainers Top 20 — and exit the instant they fall off.
- Ranking-based exit is the highest-priority rule: 100% sold the moment a token leaves Top 20
- 0–125 momentum scoring filters weak candidates before any capital is risked
- 25 safety checks across three tiers screen out dangerous tokens before entry
- Multiple layered exits cover every scenario: crash stop, trailing stop, time-based stop, and tiered take profit
⚠️ Trading involves real financial risk. Always start with Paper Mode and only switch to Live Trading with funds you can afford to lose.
SKILL.md
Top Rank Tokens Sniper
A fully automated Solana bot that trades OKX leaderboard momentum — enter on Top 20 entry, exit on ranking loss.
Prerequisites
- onchainos CLI >= 2.0.0-beta installed
onchainos wallet logincompleted- No pip dependencies — Python standard library only
When to Use This Skill
Use this skill when the user:
- Wants to trade based on OKX ranking or leaderboard momentum
- Mentions Solana 1-hour gainers, leaderboard sniping, or top-rank-tokens-sniper
- Asks about a strategy that exits automatically when a token loses its rank
- Wants to run an onchainos ranking-based trading strategy
How It Works
The bot scans the OKX 1-hour gainers leaderboard every 10 seconds. The moment a token first appears in the Top 20, it enters a position. The highest-priority exit rule: if the token drops off the Top 20, 100% of the position is sold immediately — no delay. Before any entry, each candidate is scored on a 0–125 momentum scale (buy ratio, price change, active trader count, liquidity) and filtered through 25 safety checks across three tiers: 13 Slot Guard pre-checks, 9 Advanced Safety checks, and 3 Holder Risk checks. Additional exits protect every position: hard stop loss (-15%), quick stop (-8% within 3 minutes), trailing stop (+10% activation, 8% drawdown trigger), 2-hour maximum hold, and tiered take profit (TP1 +8% / TP2 +20% / TP3 +40%). All trades use TEE-signed wallet operations. Live dashboard at http://localhost:3244.
Key commands:
python3 ranking_sniper.py— Start the main ranking scanner and sniper botonchainos wallet login— Authenticate the TEE agentic wallet