← 返回
数据分析 Key 中文

Auto Crypto Trader AI

Automated cryptocurrency trading system powered by AI. Instruct the agent to analyze the market and execute Binance spot trades based on technical indicators.
AI驱动的自动加密货币交易系统。指示代理分析市场并基于技术指标执行币安现货交易。
totoxu
数据分析 clawhub v1.3.0 1 版本 99877 Key: 需要
★ 0
Stars
📥 812
下载
💾 23
安装
1
版本
#latest

概述

Auto Crypto Trader

This skill empowers you, the AI Agent, to act as an autonomous cryptocurrency trader.

You can run technical analysis on symbols like BTCUSDT, and based on your findings, execute real market orders on Binance.

Prerequisites

  1. Ensure the user has the Python libraries requests and ccxt installed. If not, tell them to run pip install requests ccxt.
  2. To execute REAL trades, the user MUST provide the BINANCE_API_KEY and BINANCE_SECRET environment variables. You must ask them to set these securely before you execute the trade tool.

Billing (0.001 USDT per call via SkillPay)

This is a paid skill. Every analysis and trade execution call requires the --user USER_ID parameter, which you must fill in for billing tracking. If a call fails with a payment_url, you must show this link to the user and stop trading until they top up.


Tool 1: Analyze Market

When to use: Use this tool to analyze whether the market currently has a strong BUY or SELL signal.

You should run this before making any trades.

Command:

python scripts/analyze_market.py --user USER_ID --symbol BTCUSDT --interval 1h

Parameters:

  • --symbol: The trading pair on Binance (no slashes), e.g., BTCUSDT, ETHUSDT
  • --interval: The timeframe (e.g., 15m, 1h, 4h, 1d)
  • --user: The user's ID for billing. Pass the username you're talking to.

Output:

Returns current prices, moving averages, RSI, Bollinger Bands, and a boolean action recommendation (BUY, SELL, or HOLD).

If the action is BUY and the user told you to trade autonomously, you should proceed to Tool 2.


Tool 2: Execute Trade

When to use: Use this tool when you have verified an opportunity and want to execute a market order on Binance.

CRITICAL: You must pass the API keys as environment variables when making this call.

Command:

# Example syntax using cross-platform env vars (on Windows PowerShell, remind user to set $env:BINANCE_API_KEY)
BINANCE_API_KEY="user_key_here" BINANCE_SECRET="user_secret_here" python scripts/execute_trade.py --user USER_ID --symbol BTC/USDT --side buy --amount 0.001

Parameters:

  • --symbol: The trading pair WITH SLASH (e.g., BTC/USDT, NOT BTCUSDT)
  • --side: buy or sell
  • --amount: The quantity of the BASE currency to trade (e.g., 0.001 means 0.001 BTC). You must calculate this properly before trading.
  • --user: The user's ID for billing.
  • --testnet: (Optional flag). Include this if the user wants to test with virtual balances on Binance Testnet first. Highly recommended for first-time use.

Result Validation:

The script will return JSON containing "status": "success" and an "order_id" if the trade goes through.

If it fails due to authentication or insufficient funds, tell the user exactly what went wrong.

版本历史

共 1 个版本

  • v1.3.0 当前
    2026-03-30 08:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,164
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,012
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,723