- OpenClaw polls DEX aggregators on a configurable interval or subscribes to WebSocket feeds for real-time token price data
- Three threshold types are available: absolute price, percentage change over time, and volume thresholds — multiple can run on the same token
- Jupiter (Solana) and 1inch (EVM) integrations give access to aggregated DEX liquidity through a single skill interface
- Always set hard absolute position caps before enabling any automated trade execution — percentage-based sizing requires tested logic first
- Rug pull detection checks liquidity lock status, top holder concentration, mint authority, and contract verification before any new token trade
Most token traders check prices manually, miss moves while sleeping, and make reactive decisions under pressure. An OpenClaw token agent removes all three failure modes. It monitors every token you care about around the clock, fires alerts the moment a threshold is crossed, and executes predefined trades without requiring you to be at a screen. The configuration is straightforward — but the details that most builders skip are the ones that cost money.
Token Price Monitoring: The Foundation
Price monitoring is where every token agent starts. OpenClaw's crypto skill supports two data modes: polling and WebSocket streaming. Polling queries a DEX aggregator API on a fixed interval — simple, reliable, and appropriate for most alert strategies. WebSocket streaming maintains a persistent connection to a price feed and receives updates in real time — necessary when your strategy depends on speed.
For most monitoring setups, polling at 30–60 second intervals is sufficient. The alert arrives within one polling cycle of the threshold crossing. That's fast enough for swing trade alerts, portfolio monitoring, and trend detection. It is not fast enough for MEV strategies or new token sniping — those require WebSocket mode and a dedicated low-latency RPC connection.
skills:
- name: crypto-monitor
chain: solana
price_source: jupiter
price_monitors:
- pair: "BONK/USDC"
check_interval_seconds: 30
store_history: true
history_window_minutes: 60
The store_history flag tells the agent to retain price history in memory for the specified window. This enables percentage-change threshold calculations — you can't know if a token has moved 10% in an hour without the data from an hour ago.
Price moves without volume are often noise. Configure a 24h volume alert threshold on any token you plan to trade automatically. A price spike accompanied by a volume spike is a far stronger signal than price movement alone. Add volume_alert_above_usd: 500000 to any price monitor block to enable this.
Alert Threshold Configuration
OpenClaw supports three distinct threshold types that can be combined on any monitored token. Understanding when to use each prevents both missed alerts and alert fatigue.
| Threshold Type | Config Key | Best For |
|---|---|---|
| Absolute Price | alert_above / alert_below | Entry/exit price targets on known tokens |
| Percentage Change | alert_pct_change_1h / 24h | Momentum detection, breakout alerts |
| Volume Spike | alert_volume_above_usd | Confirming price moves with real demand |
Configure thresholds in your price monitor block. Multiple thresholds on the same token each fire independently — an absolute price alert and a percentage change alert can both be active simultaneously without interfering.
- pair: "WIF/USDC"
check_interval_seconds: 60
alert_above: 3.50
alert_below: 2.00
alert_pct_change_1h: 8
alert_volume_above_usd: 2000000
alert_channel: telegram
DEX Interaction and Trade Execution
Alert-only configuration is the safest starting point. Once you've watched your agent monitor correctly for a week, the next step is connecting price triggers to actual trade execution. Jupiter aggregator on Solana, and 1inch on EVM chains, both provide single-interface swap execution across multiple underlying DEXes.
We'll get to position sizing in the next section — but first, understand the execution flow. A price threshold fires a trigger. The trigger evaluates a set of conditions you define. If conditions pass, a swap is executed via the aggregator. The result is logged to memory and an alert is sent to your configured channel.
trade_triggers:
- name: "WIF dip entry"
condition: price_below
pair: "WIF/USDC"
threshold: 2.10
pre_checks:
- rug_scan: true
- liquidity_min_usd: 500000
action: swap
from_token: USDC
to_token: WIF
amount_usd: 25
slippage_bps: 75
enabled: true
The pre_checks block runs validation before any swap executes. This is where you enforce quality gates — minimum liquidity requirements, rug pull scan results, or any other condition that must pass before capital moves. If any pre-check fails, the swap is skipped and the failure is logged.
Before any live execution, set paper_trade: true in your trade trigger config. The agent logs every trade it would have executed — entry price, exit price, P&L — without moving any real funds. Run paper trading for at least two weeks before switching to live. The strategy that looks good in your head often behaves differently in practice.
Position Sizing Rules That Protect Capital
Position sizing is where most automated token strategies fail. Not because the signals are wrong, but because the sizing logic compounds losses faster than good trades recover them. The rules below come from consistent patterns observed across dozens of OpenClaw token agent deployments.
Rule 1: Absolute dollar caps first. Set amount_usd as a fixed number in every trade trigger. Do not use percentage-based sizing until you have three months of documented paper-trade history showing the logic works under multiple market conditions.
Rule 2: Daily spend limit. Add a daily_max_usd limit to your crypto-monitor skill block. This is the total capital the agent can deploy across all trade triggers in a 24-hour window. When hit, all trading halts until the window resets.
Rule 3: Per-token position cap. Limit the maximum total allocation to any single token. A token going to zero should never wipe a meaningful portion of your allocated budget — even if the agent executes multiple buys on the way down.
Rug Pull Detection Signals
New token launches are the highest-risk category in crypto. The OpenClaw token analysis skill runs a set of detection checks before any new token trade executes. These checks don't catch everything — nothing does — but they eliminate the most obvious and common scam structures.
As of early 2025, the five checks that catch the highest percentage of problematic tokens are: liquidity lock verification (is the LP locked, and for how long?), top holder concentration (does any single wallet hold more than 15–20% of supply?), mint authority status (can the deployer create more tokens?), contract verification status (is the source code publicly verified?), and social signal age (is the Twitter/Telegram account less than 48 hours old?).
Here's where most people stop — they think these checks are enough. They're not sufficient in isolation. A well-prepared rug can pass all five. Use them as filters, not guarantees. The primary protection is still hard position caps that limit what any single token can cost you.
Common Mistakes in Token Strategy Builds
- No daily spend limit configured — a misconfigured trigger can fire repeatedly on a volatile token. The daily cap is the backstop that prevents a bad day from becoming a catastrophic one.
- Alert fatigue from too many monitors — monitoring 50 tokens with tight percentage thresholds generates alerts constantly. Start with 5–10 tokens and thresholds that represent genuinely actionable signals, not every minor price move.
- Sniping new launches without pre-checks — new token sniping without rug scan pre-checks is a fast way to lose capital to honeypots. Enable all pre-checks before any new token execution, even if it means occasionally missing a legitimate launch.
- Ignoring slippage on thin liquidity tokens — setting 50 bps slippage on a token with $200k liquidity will cause most trades to fail. For smaller-cap tokens, set higher slippage tolerance and reduce trade size proportionally.
- Not logging executed trades to memory — always configure
log_trades: trueso every execution is recorded with timestamp, price, size, and outcome. Without this log, you have no data to improve your strategy.
Frequently Asked Questions
How does OpenClaw track crypto token prices?
OpenClaw polls DEX aggregators like Jupiter (Solana) or 1inch (EVM chains) on a configurable interval, or subscribes to WebSocket price feeds for real-time data. Price data is stored in agent memory and compared against threshold rules defined in the skill config.
What alert thresholds can I set for token monitoring?
Three types: absolute price thresholds (above/below $X), percentage change thresholds (moved more than 5% in 1 hour), and volume thresholds (24h volume exceeds a defined level). Multiple threshold types run simultaneously on the same token without interference.
Can OpenClaw snipe new token launches on DEXes?
The DEX interaction skill monitors new pool creation events and can execute a buy within milliseconds of detection. This carries extreme risk — new tokens are the highest-risk category, with rug pulls common. Always configure strict position caps and all pre-check validations before enabling sniping logic.
What rug pull signals can OpenClaw detect?
The token analysis skill checks: liquidity lock status, top holder concentration above 20%, mint authority status, contract verification, and social signal account age. These filters eliminate the most obvious scams but are not a guarantee against all bad tokens.
How do I set position sizing rules for token trades?
Define amount_usd as an absolute dollar amount in every trade trigger. Add a daily_max_usd limit to cap total daily deployment. Use absolute amounts before percentage-based sizing — percentage logic requires tested behavior data before it's safe to run live.
Can one OpenClaw agent monitor multiple tokens at once?
Yes — add multiple entries to the price_monitors array, each with independent thresholds and check intervals. A single agent realistically handles 20–50 tokens before polling overhead impacts check interval accuracy. Beyond that, split monitoring across multiple agents.
S. Rivera builds and operates AI-driven trading infrastructure for crypto-native teams. Has deployed OpenClaw token monitoring agents across Solana and EVM chains, with production systems running continuously since Q3 2024. Focuses on risk management and strategy validation methodology.