superior-trade/superior-skills/aerodrome
Claude Code and agent skill by superior-trade/superior-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or Aerodrome live deployment safety.
Install
npx vskill@latest install superior-trade/superior-skills/aerodromeSKILL.md
Aerodrome Trading
Read `../../references/unified-runtime.md` before any Superior Trade request. Use the current OpenAPI schema for every payload and stop if Aerodrome/Freqtrade is not listed as supported.
Overview
Use this skill only for Aerodrome trading on Base through Superior Trade. Aerodrome is spot-only AMM swap execution: no futures, no margin, no shorting, no leverage, no sub-accounts, and no order book.
Production Defaults
- Superior Trade API base URL:
https://api.superior.trade - Auth header:
x-api-key: $SUPERIOR_TRADE_API_KEY - Base RPC URL:
https://mainnet.base.org - Keep setup simple: one pair, one numeric stake amount, static pairlist, market orders, and no orderbook pricing.
Source Of Truth
When behavior is unclear, inspect these local sources before answering:
- Production API:
https://api.superior.trade
Non-Negotiables
- Use
exchange.name: "aerodrome". - Use only the supported spot pairs:
AERO/USDCandCHECK/USDC. Never use:USDC. - Omit
trading_mode, or set it to"spot"only. - Never set
margin_mode,leverage, short entries, or futures fields. - Set
entry_pricing.use_order_book: falseandexit_pricing.use_order_book: false. - Do not call
self.dp.orderbook(),fetch_order_book,fetch_l2_order_book, or order-book depth checks in strategy code. - Use market orders. Aerodrome's CCXT adapter supports AMM market swaps, not limit-order-book execution.
- Use explicit numeric
stake_amount. Avoid"unlimited"unless the user explicitly accepts balance exhaustion risk. - Never include wallet private keys or platform-injected exchange credentials in config.
- Use
https://mainnet.base.orgforexchange.ccxt_config.options.rpcUrlunless the user explicitly provides another Base RPC. - Always backtest before suggesting live deployment.
- Never start live trading without explicit user confirmation.
Wallet And Balance Rules
Aerodrome live trading depends heavily on the Base wallet balances because every order is an on-chain swap.
Before live deployment or when troubleshooting zero trades:
- Verify the wallet has enough quote token for buys, usually USDC.
- Verify it has enough base token for sells, such as AERO for
AERO/USDC. - Verify it has Base ETH for gas. A small ETH balance is required even when trading USDC pairs.
- Size
stake_amount * max_open_tradesbelow free quote balance and leave room for AMM slippage, token fees, and gas. Prefer 70-90% of available quote balance, lower for small wallets. - If the wallet balance cannot be checked in the current turn, say it has not been checked. Do not infer or fabricate balances.
Important distinction: Aerodrome uses Base wallet balances directly for on-chain swaps. Do not apply external exchange account rules here.
Supported Markets
Hard-code these Aerodrome/Base market definitions when configuring exchange.ccxt_config.options.markets:
| Symbol | Base address | Base decimals | Quote address | Quote decimals | Pool address | Stable | |
|---|---|---|---|---|---|---|---|
AERO/USDC | 0x940181a94A35A4569E4529A3CDfB74e38FD98631 | 18 | 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 | 6 | 0x6cdcb1c4a4d1c3c6d054b27ac5b77e89eafb971d | false | |
CHECK/USDC | 0x9126236476eFBA9Ad8aB77855c60eB5BF37586Eb | 18 | 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 | 6 | 0x6a4BeFa1337865071E27c62dc9d7E3bCa253cE0f | false |
Backtesting data is available for both supported pairs on 5m, 15m, 1h, 4h, and 1d.
Minimum Config
Start from this shape and only change pair_whitelist, timeframe, stake, and strategy parameters. Keep the hard-coded supported markets and no-orderbook fields.
Notes:
stake_currencymust appear in the configured markets. ForAERO/USDC, useUSDC.- Use
trading_min_order_amountonly when the strategy needs an explicit minimum; the API pads Aerodrome configs to1when omitted. - Do not include
dry_run,initial_state,api_server,walletAddress,privateKey,wallet_address, orprivate_key. ccxt_async_configis usually unnecessary for Aerodrome authoring unless current API tests show otherwise.
Backtest Workflow
- Build Aerodrome config and Freqtrade strategy code.
- Check data availability with
GET https://api.superior.trade/runtime/backtests/datasetand the query fields published by OpenAPI. - Create a backtest with
POST https://api.superior.trade/runtime/backtestsusingframework: "freqtrade",venue: "aerodrome", strategy source/config, instruments, and timerange fields from the current contract. - Creation queues the run; poll
GET https://api.superior.trade/runtime/backtests/{id}untilcompletedorfailed. - Fetch the backtest record and
GET /runtime/backtests/{id}/logsfor full metrics and diagnostics. - Present total trades, win rate, profit, drawdown, and whether results justify live testing.
Do not offer live deployment after a zero-trade backtest unless the user explicitly wants to debug live behavior.
Live Deployment Workflow
- Create a deployment with
POST https://api.superior.trade/runtime/deploymentsusing top-levelframework,venue,mode,name,code, andconfigfields. - If credentials are required, use
PUT /runtime/deployments/{id}/credentialswith the exact form published by Unified OpenAPI. Never improvise private-key fields. - Run the pre-deployment checklist below.
- Show a concise live trading summary and wait for explicit confirmation.
- Start with
PUT https://api.superior.trade/runtime/deployments/{id}/statusand{ "action": "start" }. - Monitor status and logs with
GET https://api.superior.trade/runtime/deployments/{id}andGET https://api.superior.trade/runtime/deployments/{id}/logs. - Stop with
PUT https://api.superior.trade/runtime/deployments/{id}/statusand{ "action": "stop" }.
Pre-Deployment Checklist
- Backtest completed and was reviewed.
- Config is Aerodrome spot-only and has no
margin_mode, leverage, shorting, or:USDCpair suffix. entry_pricing.use_order_bookandexit_pricing.use_order_bookare false.stake_amountis numeric and fits wallet balances with gas/slippage buffer.- Wallet has Base ETH for gas and enough relevant token balance for intended buys/sells.
- Strategy has no custom orderbook or RPC polling.
- User explicitly confirmed live trading.
Use this confirmation format:
Reference files
Load on demand.
| Read | When | |
|---|---|---|
references/api.md | You need endpoint shapes or a complete AERO/USDC backtest payload. | |
references/strategy-template.md | You are writing or adapting the strategy code. | |
references/troubleshooting.md | A swap failed, gas is short, or a deployment trades zero times. |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aerodrome/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/superior-trade/superior-skills/aerodrome)