Task Router Skill
Task Router
Auto-trade BTC, ETH, SOL, XRP on Polymarket price prediction markets at 5-minute and 15-minute intervals using RSI, MACD, and EMA signals.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install hyy2099/polymarket-autotrader-hyyAutomatically trades BTC, ETH, SOL, and XRP price prediction markets on Polymarket using short-term technical analysis signals.
Signal Generation — Fetches OHLCV candles from Binance (public API, no key required) for each asset on the selected timeframe (5m or 15m). Computes RSI(14), MACD(12/26), and EMA(9/21) crossover.
Market Discovery — Queries the Polymarket Gamma API to find active, unclosed price prediction markets for the relevant asset expiring soon.
Order Placement — If signal confidence ≥ MIN_CONFIDENCE (default 60%), places a limit order on the soonest-expiring market:
Billing — Each cycle deducts 0.001 USDT via SkillPay before executing. If balance is insufficient, a top-up link is returned.
Scheduler — Runs automatically every 5 or 15 minutes (set via TRADE_TIMEFRAME).
| Variable | Description |
|---|---|
POLYMARKET_PRIVATE_KEY |
Ethereum wallet private key (Polygon/MATIC network). Used to sign orders. |
SKILLPAY_API_KEY |
SkillPay API key for billing (from your SkillPay dashboard). |
SKILLPAY_USER_ID |
Your SkillPay user ID for billing. |
POLYMARKET_API_KEY |
(Optional) Polymarket CLOB API key for higher rate limits. |
POLYMARKET_API_SECRET |
(Optional) Polymarket CLOB API secret. |
POLYMARKET_API_PASSPHRASE |
(Optional) Polymarket CLOB API passphrase. |
| Variable | Default | Description |
|---|---|---|
TRADE_TIMEFRAME |
5m |
5m or 15m |
TRADE_ASSETS |
BTC,ETH,SOL,XRP |
Comma-separated list of assets to trade |
MAX_TRADE_USDC |
10 |
Maximum USDC to spend per trade |
MIN_CONFIDENCE |
60 |
Minimum signal confidence % required to place a trade |
DRY_RUN |
false |
Set true to simulate without placing real orders |
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.