Cryptocurrency trader

From sundial-org/awesome-openclaw-skills · View interactive version

Cryptocurrency trader is an AI agent skill from the GitHub repository sundial-org/awesome-openclaw-skills. Production-grade AI trading agent for cryptocurrency markets with advanced mathematical modeling, multi-layer validation, probabilistic analysis, and zero-hallucination tolerance. Implements Bayesian inference, Monte Carlo simulations, advanced risk metrics (VaR, CVaR, Sharpe), chart pattern recogni

How to use this skill

Skill file

Cryptocurrency Trading Agent Skill

Purpose

Provide production-grade cryptocurrency trading analysis with mathematical rigor, multi-layer validation, and comprehensive risk assessment. Designed for real-world trading application with zero-hallucination tolerance through 6-stage validation pipeline.

When to Use This Skill

Use this skill when users request:

Core Capabilities

Validation & Accuracy

Analysis Methods

Risk Management

Detailed capabilities: See references/advanced-capabilities.md

Prerequisites

Ensure the following before using this skill:

  1. Python 3.8+ environment available
  2. Internet connection for real-time market data
  3. Required packages installed: pip install -r requirements.txt
  4. User's account balance known for position sizing

How to Use This Skill

Quick Start Commands

Analyze a specific cryptocurrency:

python skill.py analyze BTC/USDT --balance 10000

Scan market for best opportunities:

python skill.py scan --top 5 --balance 10000

Interactive mode for exploration:

python skill.py interactive --balance 10000

Default Parameters

Common Trading Pairs

Major: BTC/USDT, ETH/USDT, BNB/USDT, SOL/USDT, XRP/USDT

AI Tokens: RENDER/USDT, FET/USDT, AGIX/USDT

Layer 1: ADA/USDT, AVAX/USDT, DOT/USDT

Layer 2: MATIC/USDT, ARB/USDT, OP/USDT

DeFi: UNI/USDT, AAVE/USDT, LINK/USDT

Meme: DOGE/USDT, SHIB/USDT, PEPE/USDT

Workflow

  1. Gather Information
  1. Execute Analysis
  1. Present Results
  1. Interpret Output
  1. Handle Edge Cases

Output Structure

Trading Signal:

Probabilistic Analysis:

Risk Assessment:

Position Sizing:

Validation Status:

Detailed interpretation: See references/output-interpretation.md

Presenting Results to Users

Language Guidelines

Use beginner-friendly explanations:

Required Risk Warnings

ALWAYS include these reminders:

When NOT to Trade

Advise users to avoid trading when:

Advanced Usage

Programmatic Integration

For custom workflows, import directly:

from scripts.trading_agent_refactored import TradingAgent

agent = TradingAgent(balance=10000)
analysis = agent.comprehensive_analysis('BTC/USDT')
print(analysis['final_recommendation'])

See example_usage.py for 5 comprehensive examples.

Configuration

Customize behavior via config.yaml:

Testing

Verify installation and functionality:

# Run compatibility test
./test_claude_code_compat.sh

# Run comprehensive tests
python -m pytest tests/

Reference Documentation

Architecture

Core Modules:

Entry Points:

Version

v2.0.1 - Production Hardened Edition

Recent improvements:

Status: 🟢 PRODUCTION READY

See references/technical-docs/FIXES_APPLIED.md for complete changelog.

Troubleshooting

Installation issues:

pip install --upgrade pip
pip install -r requirements.txt

Import errors:

Ensure running from skill directory or using skill.py entry point.

Network failures:

System automatically retries with exponential backoff (3 attempts).

Validation failures:

Check validation report in output - explains which stage failed and why.

For detailed debugging:

Enable logging in config.yaml or check references/technical-docs/BUG_ANALYSIS_REPORT.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.