← 返回 Skills 市场
djc00p

Freqtrade US Setup

作者 Deonte Cooper · GitHub ↗ · v1.0.3 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
220
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install freqtrade-us-setup
功能描述
Complete setup guide for running Freqtrade (cryptocurrency trading bot) legally in the United States. Use when setting up Freqtrade for the first time, choos...
使用说明 (SKILL.md)

Freqtrade US Setup Guide

⚠️ Security First: This guide emphasizes legal, secure setup for US users. Never use VPNs to bypass exchange geo-restrictions — it violates ToS, risks fund freezes, and may be illegal.

1-Minute Intro

Freqtrade (the Python bot) is legal in the US. The catch: many exchanges block US traders. Use Kraken — it's stable, US-compliant, and officially supported.

Quick Start

Step 1: Generate Kraken API Keys

  1. Log into Kraken → Settings → API
  2. Create a new key with these permissions exactly:
    • Funds: Query
    • Orders: Query open orders & trades
    • Orders: Query closed orders & trades
    • Orders: Create & modify orders
    • Orders: Cancel & close orders
    • NEVER enable Withdraw (critical security risk)

Step 2: Docker Setup

# Clone Freqtrade
git clone https://github.com/freqtrade/freqtrade.git
cd freqtrade

# Create config (interactive wizard)
docker-compose run --rm freqtrade new-config --config /freqtrade/user_data/config.json

# When prompted:
# - Exchange: kraken
# - Stake currency: USDT (or USD)
# - Dry-run: yes (always start paper trading!)

Step 3: Secure Your Keys

Freqtrade uses a specific double-underscore env var pattern (FREQTRADE__SECTION__KEY) that overrides config values at runtime. Create a .env file in your Freqtrade directory:

# Kraken API (required)
FREQTRADE__EXCHANGE__KEY=your-kraken-api-key
FREQTRADE__EXCHANGE__SECRET=your-kraken-secret

# Web UI (optional)
FREQTRADE__API_SERVER__USERNAME=your-username
FREQTRADE__API_SERVER__PASSWORD=your-password
FREQTRADE__API_SERVER__JWT__SECRET__KEY=your-jwt-secret
FREQTRADE__API_SERVER__WS__TOKEN=your-ws-token

# Telegram (optional — leave empty if not using)
# Note: Multi-bot Telegram setup via env vars is unverified.
# If you hit issues, consult Freqtrade docs for your specific setup.
# Never hardcode sensitive tokens in files that could be committed to git.
FREQTRADE__TELEGRAM__TOKEN=
FREQTRADE__TELEGRAM__CHAT_ID=

Add to .gitignore immediately:

echo ".env" >> .gitignore

In user_data/config.json, leave the exchange key and secret as empty strings — Freqtrade will populate them from the env vars automatically:

{
  "exchange": {
    "name": "kraken",
    "key": "",
    "secret": "",
    "ccxt_config": {},
    "ccxt_async_config": {}
  },
  "stake_currency": "USDT",
  "dry_run": true,
  "max_open_trades": 3
}

Step 4: Validate & Test

# Download historical data
docker-compose run --rm freqtrade download-data \
  --pairs BTC/USDT ETH/USDT \
  --timeframe 5m \
  --timerange 20240101-

# Run dry-run for 1-2 weeks before going live
docker-compose up

Before Going Live

  1. Dry-run minimum: 1-2 weeks of paper trading
  2. Backtest: Verify your strategy works historically
  3. Start small: Go live with a conservative stake amount
  4. Monitor: Watch closely for first 24-48 hours

When to Read References

  • exchange-comparison.md → Comparing Kraken, Binance.US, Coinbase
  • security-checklist.md → API key management, fund protection, common mistakes

Disclaimer: Freqtrade is open-source, experimental software. Trading involves financial risk. This guide is provided as-is with no guarantees. Use at your own risk.

Questions? See references/ or check Freqtrade's official docs at https://www.freqtrade.io

安全使用建议
This is an instruction-only guide that appears coherent and focused on safe Freqtrade setup with Kraken. Before using it: (1) verify instructions against Freqtrade and Kraken official docs (links are provided in the guide); (2) ensure Docker is installed from a trusted source; (3) follow the guide's advice to never enable withdraw permissions and to keep .env out of git and rotate keys if leaked; (4) remember the skill author/source is unknown (no homepage), so treat the text as guidance you should cross-check rather than an automated installer; and (5) when running commands (git clone, docker-compose), inspect the upstream repo and docker-compose.yml before launching containers.
功能分析
Type: OpenClaw Skill Name: freqtrade-us-setup Version: 1.0.3 The skill bundle provides a legitimate and security-conscious guide for setting up the Freqtrade trading bot for US users, specifically recommending Kraken. It emphasizes critical security practices such as using minimal API permissions (explicitly advising against enabling withdrawals), storing secrets in environment variables via a `.env` file, and ensuring sensitive files are excluded from version control using `.gitignore`. No malicious code, data exfiltration, or prompt injection attempts were found in SKILL.md or the reference documents.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
Name/description (Freqtrade US setup) match the content: guides Kraken, Docker, API keys, dry-run testing. Declared dependency (docker) is appropriate and nothing unrelated is requested.
Instruction Scope
SKILL.md stays on-topic: cloning Freqtrade, generating Kraken API keys, populating a local .env, using docker-compose, and testing in dry-run. It does not instruct reading unrelated system files, exfiltrating secrets, or posting keys to external endpoints. It includes sensible security guidance (never enable withdraw, add .env to .gitignore).
Install Mechanism
Instruction-only skill with no install spec and no code files; lowest-risk delivery method. It only references git clone of the official freqtrade repo (GitHub) which is expected for setup instructions.
Credentials
No required environment variables are declared by the registry, and the guide merely instructs the user to create local env vars for the exchange keys and optional UI tokens — appropriate and explained with warnings not to commit them. Nothing asks for unrelated credentials or broad system access.
Persistence & Privilege
always is false and the skill does not request persistent system changes or access to other skills' configs. Model invocation is enabled by default (normal); there are no combined red flags that would make autonomous invocation dangerous here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install freqtrade-us-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /freqtrade-us-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Fix: replace bare code blocks with ```text for consistent rendering
v1.0.2
Fix: Clarified crypto-exclusive scope in description
v1.0.1
Fix: Removed false Kraken reversal guarantee, corrected Telegram multi-bot advice (no hardcoding), added experimental software disclaimer
v1.0.0
Initial release — complete guide for US-based Freqtrade users. Covers Kraken setup, correct FREQTRADE__ env var pattern, Docker config, API key security, and dry-run workflow.
元数据
Slug freqtrade-us-setup
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Freqtrade US Setup 是什么?

Complete setup guide for running Freqtrade (cryptocurrency trading bot) legally in the United States. Use when setting up Freqtrade for the first time, choos... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 220 次。

如何安装 Freqtrade US Setup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install freqtrade-us-setup」即可一键安装,无需额外配置。

Freqtrade US Setup 是免费的吗?

是的,Freqtrade US Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Freqtrade US Setup 支持哪些平台?

Freqtrade US Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Freqtrade US Setup?

由 Deonte Cooper(@djc00p)开发并维护,当前版本 v1.0.3。

💬 留言讨论