agentCLAWHUBUnverified

Aion Test Skill

Automated Polymarket trading skill based on price momentum signals—executes trades when market trends are detected Skill: Aion Test Skill Owner: skybinjf Summary: Automated Polymarket trading skill based on price momentum signals—executes trades when market trends are detected Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-27T05:54:47.717Z | auto Initial release of automated trading skill for Polymarket using price momentum. - Executes trades based on detected market trends and price momentum signals - Includes built-in ris

OpenClaw

Rank

62

Safety

84

Downloads

1.5k

Updated

Oct 10, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.5K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.0release · observed Apr 27, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17d60gxzm0khfph1m86prw7fn85msga:momentum-polymarket-trader
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-skybinjf-momentum-polymarket-trader/snapshot"

Documentation

CLAWHUB

14,967 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: momentum-polymarket-trader
description: Automated Polymarket trading skill based on price momentum signals—executes trades when market trends are detected
metadata:
  author: "AION Trader"
  version: "1.0.0"
  displayName: "Momentum Polymarket Trader"
  difficulty: "intermediate"
---

# Momentum Polymarket Trader

An automated trading skill that executes trades on Polymarket based on price momentum and market trend signals.

## Features

- 🎯 Automatically monitors opportunity markets on Polymarket
- 📊 Analyzes price momentum and trend signals
- ⚠️ Built-in risk management and flip-flop detection
- 🔄 Auto-redeems winnings from resolved markets
- 📝 Detailed reasoning logs for every trade

## How It Works

This skill runs every 15 minutes and:

1. **Fetches Market Briefing** - Gets current opportunity markets from AION API
2. **Risk Check** - Checks for risk alerts; pauses trading if any exist
3. **Market Analysis** - For each candidate market:
   - Fetches market context and trading discipline data
   - Calculates price momentum indicators
   - Evaluates trading edge
4. **Executes Trades** - Trades when positive edge is found with no warnings
5. **Auto-Redeems** - Periodically redeems winnings from resolved markets

## Remixable Template

> **This is a customizable template.** The default signal is based on simple price momentum — 
> you can replace it with:
> - Different technical indicators (RSI, MACD, etc.)
> - Machine learning model predictions
> - External data sources (news, social media sentiment, etc.)
> - Custom market scoring algorithms
> 
> The skill handles all the plumbing (market discovery, order execution, position management, safeguards).
> Your agent provides the alpha — just replace the `calculate_signal()` function.

## Configuration

### Required Environment Variables
- `AION_API_KEY` - Your AION SDK API key (get from https://pm-t1.bxingupdate.com/agents)

### Optional Environment Variables
- `WALLET_PRIVATE_KEY` - Only needed for external-wallet self-custody trading
- `POLYGON_RPC_URL` - Custom Polygon RPC endpoint (optional)
- `MAX_POSITION_SIZE` - Maximum position per market (default: 10 USDC)
- `MIN_EDGE_THRESHOLD` - Minimum edge threshold for trading (default: 0.05, i.e., 5%)

## Running Modes

### Dry-run Mode (Default)
```bash
python momentum_trader.py
```
This simulates trades without executing real orders.

### Live Trading Mode
```bash
python momentum_trader.py --live
```
⚠️ **Warning**: This executes trades with real funds!

## Customizing Signals

Edit the `calculate_signal()` function in `momentum_trader.py` to implement your trading strategy:

```python
def calculate_signal(market_data, context):
    """
    Replace this function to implement your custom signal logic
    
    Returns:
    - side: "yes" or "no" or None (no trade)
    - confidence: confidence level between 0-1
    - reasoning: human-readable trade rationale
    """
    # Your custom logic here
    pass
```

## Risk Management

This skil

README.md

# Momentum Polymarket Trader

A complete AION automated trading skill that executes trades on Polymarket based on price momentum signals.

## 📁 File Structure

```
momentum-polymarket-trader/
├── SKILL.md              # AION skill specification and documentation
├── clawhub.json          # ClawHub configuration and automation settings
├── momentum_trader.py    # Main trading logic
├── requirements.txt      # Python dependencies
└── README.md            # This file
```

## 🚀 Quick Start

### 1. Install Dependencies

```bash
pip install -r requirements.txt
```

### 2. Configure Environment Variables

```bash
export AION_API_KEY="your-api-key"  # Get from https://pm-t1.bxingupdate.com/agents
```

Optional configuration:
```bash
export MAX_POSITION_SIZE="10.0"      # Max trade amount per market (USDC)
export MIN_EDGE_THRESHOLD="0.05"     # Minimum trading edge (5%)
```

### 3. Test Run (Dry-run Mode)

```bash
# Single execution
python momentum_trader.py

# Continuous mode
python momentum_trader.py --continuous
```

### 4. Live Trading (⚠️ Use Caution)

```bash
# Single live trade
python momentum_trader.py --live

# Continuous live trading
python momentum_trader.py --live --continuous
```

## 🎯 Features

- ✅ **Auto Market Discovery** - Monitors AION-recommended opportunity markets
- ✅ **Momentum Signal Detection** - Identifies trading opportunities based on price trends
- ✅ **Multi-layer Risk Management** - Flip-flop detection, slippage estimation, risk alerts
- ✅ **Auto-Redemption** - Periodically redeems winnings from resolved markets
- ✅ **Detailed Logging** - Records all decisions and trade reasoning
- ✅ **Customizable Template** - Easy to replace with your own trading signals

## 🔧 Customizing Strategy

Edit the `calculate_signal()` function in `momentum_trader.py`:

```python
def calculate_signal(market: Dict, context: Dict) -> Signal:
    """
    Implement your custom trading strategy here!
    
    You can use:
    - Technical indicators (RSI, MACD, Bollinger Bands, etc.)
    - Machine learning models
    - External data sources (news, social media sentiment, etc.)
    - Any other signal logic
    """
    # Your strategy code...
    pass
```

## 📊 Example Output

```
======================================================================
Skill: momentum-polymarket-trader
Venue: polymarket
Mode: DRY-RUN (simulation)
======================================================================

🔄 Checking for positions to redeem...
✓ Redeemed market abc123...: tx=0xdef456...

📊 Fetching market briefing...
✓ No risk alerts

🎯 Found 5 opportunity markets

Analyzing: Will Bitcoin reach $100K in 2025?...
  • HOLD: No clear momentum signal (YES=0.520, NO=0.480)

Analyzing: 2026 US Midterm Elections...
  💰 TRADE YES: Edge 7.8%
  [DRY-RUN] Simulating trade: YES 6.5 USDC
  Reason: Positive momentum detected for YES (current price=0.680)

======================================================================
Execution Summary
===========================

_meta.json

{
  "ownerId": "kn78708q10z9j2x8bpgf9fk3h185nq26",
  "slug": "momentum-polymarket-trader",
  "version": "1.0.0",
  "publishedAt": 1777269287717
}

skill-card.md

## Description:

Automated Polymarket trading skill based on price momentum signals that executes trades when market trends are detected.

This skill is for demonstration purposes and not for production usage.

## Publisher:

[skybinjf](https://clawhub.ai/user/skybinjf)

### License/Terms of Use:

MIT-0

## Use Case:

External developers and agent operators use this skill as a customizable AION template for monitoring Polymarket opportunities, testing momentum-based signals, and optionally executing trades after configuration and review.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Dry-run mode may still perform real account redemptions.

Mitigation: Confirm redemption behavior before installation or disable auto-redemption until dry-run boundaries are verified.

Risk: Scheduled or continuous execution can repeatedly act on live market data and accounts.

Mitigation: Disable scheduled runs unless explicitly authorized and test single executions before enabling continuous operation.

Risk: Live trading can spend real funds using the configured AION or wallet credentials.

Mitigation: Use least-privilege credentials, set conservative position limits, and require explicit review before using live mode.

Risk: Dependencies are version-ranged rather than pinned.

Mitigation: Pin and verify dependency versions before production or funded trading use.

## Reference(s):

- [ClawHub skill release](https://clawhub.ai/skybinjf/skills/momentum-polymarket-trader)
- [AION Documentation](https://docs-t.aionmarket.com/)
- [AION Building Skills Guide](https://docs-t.aionmarket.com/essentials/building-skills)
- [Polymarket API](https://docs.polymarket.com/)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Configuration, Code]

**Output Format:** [Markdown documentation with shell and Python code blocks; runtime text logs and trade decision summaries]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires AION_API_KEY; optional live trading, continuous mode, wallet, RPC, position-size, and edge-threshold configuration.]

## Skill Version(s):

1.0.0 (source: server release metadata and skill metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

clawhub.json

{
  "emoji": "📈",
  "primaryEnv": "AION_API_KEY",
  "requires": {
    "pip": ["aion-sdk", "requests"],
    "env": ["AION_API_KEY"]
  },
  "envVars": [
    {
      "name": "AION_API_KEY",
      "required": true,
      "description": "Your AION SDK API key — get from https://pm-t1.bxingupdate.com/agents"
    },
    {
      "name": "WALLET_PRIVATE_KEY",
      "required": false,
      "description": "Only needed for external-wallet self-custody trading. Not required if using AION managed wallets."
    },
    {
      "name": "POLYGON_RPC_URL",
      "required": false,
      "description": "Optional custom Polygon RPC endpoint. Uses default RPC if not set."
    },
    {
      "name": "MAX_POSITION_SIZE",
      "required": false,
      "description": "Maximum position size per market (USDC). Default: 10"
    },
    {
      "name": "MIN_EDGE_THRESHOLD",
      "required": false,
      "description": "Minimum edge threshold required to execute trade (0-1). Default: 0.05 (5%)"
    }
  ],
  "cron": "*/15 * * * *",
  "automaton": {
    "managed": true,
    "entrypoint": "momentum_trader.py"
  }
}
Github ReposUpdated 17h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/skybinjf/skills/momentum-polymarket-trader",
      "sourceUrl": "https://clawhub.ai/skybinjf/skills/momentum-polymarket-trader",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:01:26.727Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-skybinjf-momentum-polymarket-trader/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-skybinjf-momentum-polymarket-trader/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:01:26.727Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.5K downloads",
      "href": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceUrl": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:01:26.727Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceUrl": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-27T05:54:47.717Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-skybinjf-momentum-polymarket-trader/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-skybinjf-momentum-polymarket-trader/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Initial release of automated trading skill for Polymarket using price momentum. - Executes trades based on detected market trends and price momentum signals - Includes built-in risk management, flip-flop detection, and auto-redemption of winnings - Provides detailed reasoning logs for every trade decision - Offers customizable signal function for advanced strategies - Supports both dry-run (default) and live trading modes - Easy configuration via environment variables",
      "href": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceUrl": "https://clawhub.ai/skybinjf/momentum-polymarket-trader",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-27T05:54:47.717Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to Aion Test Skill and adjacent AI workflows.