跳到正文
TakoAPI
返回技能列表

crypto-self-learning

由 totaleasy 提供

Coding Agents & IDEs
4.3k下载量由 clawskills.sh 提供
11星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Self-learning system for crypto trading.

描述

该技能的功能

Logs crypto trades with full context including technical indicators and macro conditions, analyzes win/loss patterns across dimensions like day of week, RSI ranges, and leverage, and extracts actionable trading rules. Rules are written back to an agent memory file, creating a feedback loop that refines decisions over time.

Rather than manually reviewing trade notes in a spreadsheet, it extracts statistically grounded rules from structured trade history and writes them directly into agent memory for use in future decisions.

何时使用

  • Logging a BTCUSDT long trade with RSI and MACD values right after closing
  • Identifying which days of the week have the highest win rate across 50+ trades
  • Generating AVOID and PREFER rules once enough trade history accumulates
  • Running a weekly review to compare current performance against the prior week
  • Auto-updating agent memory with data-backed rules before the next session

示例工作流

输入

User asks: I just closed a BTCUSDT long at +1.92% with RSI 28 and a bullish MACD cross. Log it and refresh my rules.

智能体
  1. 1

    Runs log_trade.py with symbol, direction, entry, exit, pnl_percent, indicators JSON, and market context JSON

  2. 2

    Runs analyze.py to compute win rates by direction, day of week, RSI range, and leverage level

  3. 3

    Runs generate_rules.py to extract AVOID, PREFER, and CAUTION rules from detected patterns

  4. 4

    Runs update_memory.py to append a Learned Rules section to MEMORY.md

输出

MEMORY.md updated with rules such as 'AVOID: LONG when RSI > 70 (win rate: 23%, n=13)' and 'PREFER: SHORT on Mondays (win rate: 78%, n=9)'

安装

clawhub install totaleasy/crypto-self-learning

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接