created by Michal Fedornak
www.fedornak.sk
SOL
24h: —
Telegram: —
LIVE 00:00:00
⚙️ Settings
How the Agent works

Overview

The agent monitors Telegram alpha channels in real time. When a new buy signal is detected, it automatically buys the token via PumpPortal Lightning API on Solana, then manages the position with stop-loss and trailing stop.

Step-by-step flow

1

Signal detection

Every message from monitored channels is sent to Claude AI for analysis. Claude looks for a Solana contract address (CA) and buy intent keywords: ape, entry, gem, LFG, etc. It also rates confidence: high or medium. Messages without a CA or with no buy intent are marked ignored.

2

Duplicate filter

Each CA is tracked in memory and in the database. If the same CA arrives again (from the same or a different channel), it is marked duplicate and skipped — the agent never buys the same token twice.

3

Buy execution

The CA is sent to PumpPortal Lightning API which executes a market buy of ${BUY_AMOUNT_SOL} SOL directly on-chain via dedicated Solana nodes. The transaction signature is logged and the trade is saved to the database.

4

Position management

Price monitor checks every ${PRICE_MONITOR_SEC}s via DexScreener. Stop-loss triggers at −${STOP_LOSS_PCT}% from buy price. Take profit triggers between +${TAKE_PROFIT_MIN_PCT}% and +${TAKE_PROFIT_MAX_PCT}%. Above +${TAKE_PROFIT_MAX_PCT}% the position switches to trailing stop mode.

5

Trailing stop & sell

In trailing mode the peak price is tracked. When price drops ${TRAILING_PCT}% from the peak, the agent sells 100% via PumpPortal Lightning API. The trade is closed in the database with PnL calculated automatically.

Message statuses

sent Signal detected, buy order sent to PumpPortal.
duplicate CA already seen — skipped to avoid double buying.
filtered Signal found but confidence below the minimum threshold.
ignored No CA or no buy intent detected by Claude AI.

Key parameters

BUY_AMOUNT_SOL = 0.1 — SOL amount per trade
STOP_LOSS_PCT = 20 — stop-loss % from buy price
TAKE_PROFIT_MIN_PCT = 12 — minimum take profit %
TAKE_PROFIT_MAX_PCT = 40 — above this, trailing stop activates
TRAILING_PCT = 20 — trailing stop drawdown from peak %
MIN_CONFIDENCE = medium — minimum signal confidence
Total
0
Sent
0
Ignored
0
Duplicates
0
Win rate
PnL
Loading channels…
TokenChannelBoughtBuy priceBuy SOLBuy $ Sell $Sell pricePnL $PnL %Earned SOLStatusLinks
— / —
Live feed
Signal history
🎮 Demo Trading — simulácia kanálových signálov
COSTS per trade
Buy slippage~4%
Sell slippage~4%
Priority fee~1%
PumpPortal fee~1%
Round-trip total~10%
Break-even+10% move
POSITION
Per trade
Fee per trade
Min profit target
Total fees paid
CHANNEL STATS (after fees)
loading…
TokenChannelEnteredEntry $Current $PnL % Peak $MCLiqm5 B/SFeesStatusReason
+ Add Channel

Enter the Telegram channel username (without @). The agent will start listening immediately — no restart needed.

⚠️ Make sure your Telegram account has access to the channel before adding it.

DEBUG — agent.log
Loading…