返回顶部
C

Crypto Trader & Analyst加密货币交易分析

A skill for OpenClaw to research crypto market trends (technical & sentiment) and trade ETH on Binance.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
775
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

Crypto Trader & Analyst

Crypto Trader & Analyst Skill

This skill allows OpenClaw to analyze the crypto market using technical indicators and news sentiment, record its findings, and execute trades on Binance.

Dependencies

Ensure the following Python packages are installed:

pip install ccxt pandas pandas-ta requests TextBlob

Note: TextBlob is suggested for basic sentiment analysis if needed, though simple keyword matching might suffice.

Environment Variables

You must set the following environment variables for trading:

  • - BINANCE_API_KEY: Your Binance API Key.
  • INLINECODE2: Your Binance API Secret.

WARNING: Never share these keys or commit them to version control.

Workflow

1. Market Analysis

Technical Analysis
Run the market data script to get current indicators for a symbol (default ETH/USDT).

python skills/crypto_trader/scripts/market_data.py --symbol ETH/USDT

Output: JSON containing RSI, MACD, close price, etc.

Sentiment Analysis
Run the sentiment script to fetch latest news headers and forum buzz.

python skills/crypto_trader/scripts/sentiment_data.py

Output: Text/JSON summary of positive/negative news.

2. Decision Making & Logging

Analyze & Record
Based on the outputs from step 1, form a hypothesis. Is the market Bullish, Bearish, or Neutral?
Before trading, you MUST save your analysis.
CODEBLOCK3

3. Execution

Trade
If the analysis supports a trade, execute it.

# Buy 0.01 ETH at Market Price
python skills/crypto_trader/scripts/trade.py --symbol ETH/USDT --side buy --amount 0.01 --type market

# Dry Run (Test without real money)
python skills/crypto_trader/scripts/trade.py --symbol ETH/USDT --side buy --amount 0.01 --dry-run

The trade script will automatically append the transaction to skills/crypto_trader/logs/trade_history.csv.

Files structure

  • - scripts/market_data.py: Fetches OHLCV and calculates indicators.
  • INLINECODE5: Fetches news/forum data.
  • INLINECODE6: Appends analysis to logs/analysis_journal.md.
  • INLINECODE8: Executes trades and logs to logs/trade_history.csv.
  • INLINECODE10: Directory storing your analysis history and trade logs.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clap-trader-1776419966 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clap-trader-1776419966 技能

通过命令行安装

skillhub install clap-trader-1776419966

下载

⬇ 下载 Crypto Trader & Analyst v1.0.0(免费)

文件大小: 5.61 KB | 发布时间: 2026-4-17 19:10

v1.0.0 最新 2026-4-17 19:10
Initial release of the Crypto Trader & Analyst skill for OpenClaw:

- Enables technical and sentiment analysis of crypto markets, focusing on ETH/USDT.
- Provides scripts for market data retrieval, sentiment analysis, structured analysis logging, and Binance trading execution.
- Includes guidance on required dependencies, environment variable setup, and safe trading practices.
- Automated logging for all market analyses and trade transactions.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部