From ave-cloud-skill
Executes server-managed proxy-wallet DEX trades via AVE Cloud Bot API. Handles market/limit orders, TP/SL/trailing exits, wallet lifecycle, EVM approvals, transfers, order history, and WebSocket status on BSC/ETH/Base/Solana.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ave-cloud-skill:trade-proxy-walletThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Server-managed proxy-wallet DEX trading via the AVE Cloud Bot Trade API. This is the default AVE trading path when the user has not explicitly asked for self-custody. For shared trade-path rules and current PROD quirks, see [operator-playbook.md](../../references/operator-playbook.md).
Server-managed proxy-wallet DEX trading via the AVE Cloud Bot Trade API. This is the default AVE trading path when the user has not explicitly asked for self-custody. For shared trade-path rules and current PROD quirks, see operator-playbook.md.
Trading fee: 0.8% | Rebate to feeRecipient: 25%
| EN | ZH |
|---|---|
| "buy this token", "swap X for Y" | "买这个币", "换成X" |
| "place a limit order", "set a buy limit" | "挂限价单", "设置限价买入" |
| "set take-profit", "set stop-loss" | "设置止盈", "设置止损" |
| "auto-sell", "trailing stop" | "自动卖出", "追踪止损" |
| "use proxy wallet", "place bot order" | "用代理钱包", "下机器人订单" |
| "watch my order", "check order status" | "看我的订单", "查询订单状态" |
export AVE_API_KEY="your_api_key_here"
export AVE_SECRET_KEY="your_secret_key_here"
export API_PLAN="normal" # normal | pro
pip install -r scripts/requirements.txt
Get keys at https://cloud.ave.ai/register. Proxy Wallet API must be activated on your account.
API_PLAN | Write TPS |
|---|---|
normal | 5 |
pro | 20 |
bsc, eth, base, solana
Preview or query order state first when useful, and do not treat the initial submission acknowledgement as final execution status.
sol (not So11111111111111111111111111111111111111112) for --in-token / --out-token. The full mint address is rejected.--gas: Market and limit orders on Solana require --gas (lamports). With --use-mev, minimum is 1000000 (0.001 SOL). Or use --auto-gas high.--auto-gas average or --extra-gas (wei) for EVM chains.swap value too small.approve-token. Native coin buys do not need approval.market-order returns an order ID, not a tx hash. Always call get-swap-orders to confirm the order was filled.List, create, or delete delegate proxy wallets.
python scripts/ave_trade_rest.py list-wallets [--assets-ids id1,id2]
python scripts/ave_trade_rest.py create-wallet --name "my-wallet" [--return-mnemonic]
python scripts/ave_trade_rest.py delete-wallet --assets-ids id1 id2
Place an immediate proxy-wallet swap order.
# Solana (--gas required, --use-mev min 1000000 lamports)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token sol --out-token <token> --in-amount 10000000 --swap-type buy --slippage 1000 --use-mev --gas 1000000
# EVM (--auto-gas or --extra-gas required)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --out-token <token> --in-amount 1000000000000000 --swap-type buy --slippage 1000 --auto-gas average
--auto-sell supports default TP/SL rules plus one trailing rule.
Place a limit order that waits for the target USD price.
python scripts/ave_trade_rest.py limit-order --chain <chain> --assets-id <assetsId> --in-token <token> --out-token <token> --in-amount <amount> --swap-type buy|sell --slippage 500 --limit-price <usd> [--expire-time 86400]
Get market or limit order status by ID or filter.
python scripts/ave_trade_rest.py get-swap-orders --chain <chain> --ids id1,id2
python scripts/ave_trade_rest.py get-limit-orders --chain <chain> --assets-id <assetsId> [--status waiting] [--token <token>] [--page-size 20] [--page-no 0]
Cancel waiting limit orders.
python scripts/ave_trade_rest.py cancel-limit-order --chain <chain> --ids id1 id2
Approve ERC-20 token spending for EVM proxy-wallet trading.
python scripts/ave_trade_rest.py approve-token --chain bsc --assets-id <assetsId> --token-address <token>
python scripts/ave_trade_rest.py get-approval --chain bsc --ids approval_id1,approval_id2
Move assets from a delegate proxy wallet.
python scripts/ave_trade_rest.py transfer --chain <chain> --assets-id <assetsId> --from-address <from> --to-address <to> --token-address <token> --amount <amount>
python scripts/ave_trade_rest.py get-transfer --chain <chain> --ids transfer_id1
Stream live proxy-wallet order updates; use REST order queries as the source of truth for final status.
python scripts/ave_trade_wss.py watch-orders
Buy a token, confirm, then sell back.
# 1. Buy (sol -> token)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token sol --out-token <token> --in-amount 10000000 --swap-type buy --slippage 1000 --use-mev --gas 1000000
# 2. Confirm buy
python scripts/ave_trade_rest.py get-swap-orders --chain solana --ids <order_id>
# 3. Sell (use full token address for in-token, sol for out-token)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token <token_address> --out-token sol --in-amount <received_amount> --swap-type sell --slippage 1000 --use-mev --gas 1000000
Buy a token, approve for selling, then sell. Approval is one-time per token.
# 1. Buy (native coin -> token)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --out-token <token> --in-amount 1000000000000000 --swap-type buy --slippage 1000 --auto-gas average
# 2. Approve token for selling (one-time)
python scripts/ave_trade_rest.py approve-token --chain bsc --assets-id <assetsId> --token-address <token>
# 3. Sell (token -> native coin)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token <token> --out-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --in-amount <received_amount> --swap-type sell --slippage 1000 --auto-gas average
Use shared references for current PROD quirks, test caps, token conventions, error wording, response shape, and fuller trade API details.
npx claudepluginhub avecloud/ave-cloud-skill --plugin ave-cloud-skillPlaces, cancels, lists, and resumes limit orders on OKX Agentic Wallet. Supports buy dip, take profit, stop loss, and chase high strategies with automatic execution via TEE.
Buy and sell meme coins and crypto tokens on Solana, BSC, Base, or Ethereum via GMGN API. Supports single swap, multi-wallet batch trading, limit orders, stop loss, take profit, trailing orders, and order status queries.
Buy/sell XAUT (Tether Gold) on Ethereum with Uniswap V3 market orders and UniswapX limit orders. Supports Foundry keystore or WDK wallets; delegates non-XAUT intents to other skills like Polymarket or Hyperliquid trading.