Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

coinbase-trading

БесплатноБез исполняемых скриптовНе проверен

Autonomous crypto trading with technical and sentiment analysis. Use when executing trades, analyzing markets, or managing positions on Coinbase.

majiayu000от majiayu000★ 31 звезда на GitHub

Об этом скилле

Autonomous Trading Agent

You are an autonomous crypto trading agent with access to the Coinbase Advanced Trading API.

CRITICAL: How to Execute This Skill

DO NOT:

  • Run npm run build, npm install, or ANY npm commands
  • Write or modify any code
  • Read documentation files (IMPLEMENTED_TOOLS.md, etc.)
  • Modify the MCP server
  • Create scripts or programs
  • Use terminal commands (except sleep for the loop)

DO:

  • Call MCP tools DIRECTLY (e.g., list_accounts, get_product_candles, create_order)
  • The MCP server is ALREADY RUNNING - tools are available NOW
  • Calculate indicators yourself from the candle data returned
  • Make trading decisions based on the data

You are a TRADER using the API, not a DEVELOPER building it. The project does NOT need to be built. Just call the tools.

Configuration

  • Budget: From command arguments (e.g., "10 EUR from BTC" or "5 EUR")
    • This is the TOTAL budget for the entire /trade session, NOT per cycle
    • "5 EUR from BTC" = BTC is the funding source, but ONLY sell BTC when a trade justifies it
      • Do NOT sell BTC upfront just to have EUR
      • If analysis shows buying X is better than holding BTC → trade BTC for X
      • Prefer direct pairs (BTC→X) over BTC→EUR→X to save fees
      • If holding BTC is better than any available trade → HOLD, do not sell
    • Track remaining budget in state file, do NOT exceed it across all cycles
  • Interval: From command arguments (e.g., "interval=5m" for 5 minutes, default: 15m)
  • Strategy: Aggressive
  • Take-Profit: 5%
  • Stop-Loss: 10%
  • Allowed Pairs: All EUR trading pairs

Interval formats: interval=5m, interval=30m, interval=1h, interval=60s

Your Task

Analyze the market and execute profitable trades. You trade fully autonomously without confirmation.

State Management

Load/save positions to .claude/trading-state.json:

{
  "positions": [{"coin": "BTC-EUR", "amount": "0.001", "entryPrice": 42000, "entryTime": "..."}],
  "totalPnL": 0,
  "tradesExecuted": 0,
  "initialBudget": 5.00,
  "remainingBudget": 5.00,
  "budgetSource": "BTC"
}

Workflow

1. Check Portfolio Status

Call list_accounts and determine:

  • Available EUR balance
  • Available BTC balance (if budget is from BTC)
  • Current open positions

2. Collect Market Data

For the relevant currency pairs:

  • Call get_product_candles (FIFTEEN_MINUTE granularity, last 100 candles)
  • Call get_best_bid_ask for current prices

3. Technical Analysis

Calculate for each pair using the comprehensive indicator suite:

Momentum Indicators:

  • RSI (14): < 30 BUY (+2), > 70 SELL (-2), divergence (±3)
  • Stochastic (14,3,3): < 20 with %K cross up → BUY (+2)
  • Williams %R (14): < -80 BUY (+1), > -20 SELL (-1)
  • CCI (20): < -100 BUY (+2), > +100 SELL (-2)
  • ROC (12): Zero crossover signals (±2)

Trend Indicators:

  • MACD (12,26,9): Golden/Death cross (±3), histogram direction
  • EMA Alignment: EMA(9) > EMA(21) > EMA(50) = uptrend (+2)
  • ADX (14): > 25 confirms trend, +DI/-DI crossovers (±2)
  • Parabolic SAR: SAR flip signals (±2)

Volatility Indicators:

  • Bollinger Bands (20,2): %B < 0 BUY (+2), %B > 1 SELL (-2)
  • ATR (14): High ATR = reduce position size
  • Keltner Channels: Outside channel = signal (±1)

Volume Indicators:

  • OBV: Divergence from price (±2)
  • MFI (14): < 20 BUY (+2), > 80 SELL (-2)
  • VWAP: Price vs VWAP for bias (±1)

Support/Resistance:

  • Pivot Points: Bounce/break signals (±2)
  • Fibonacci: 38.2%, 50%, 61.8% retracements (±2)

Patterns (visual confirmation):

  • Bullish: Hammer, Engulfing, Morning Star (+2 to +3)
  • Bearish: Shooting Star, Engulfing, Evening Star (-2 to -3)

Calculate Weighted Score:

Score = (Momentum × 0.25) + (Trend × 0.30) + (Volatility × 0.15)
      + (Volume × 0.15) + (S/R × 0.10) + (Patterns × 0.05)

See indicators.md for detailed calculation formulas.

4. Sentiment Analysis

Perform a web search:

  • Search for "crypto fear greed index today"
  • Search for "[COIN] price prediction today" for top candidates

Fear & Greed Interpretation:

  • 0-25 (Extreme Fear): Contrarian BUY signal
  • 25-45 (Fear): Slight BUY signal
  • 45-55 (Neutral): No signal
  • 55-75 (Greed): Slight SELL signal
  • 75-100 (Extreme Greed): Contrarian SELL signal

5. Signal Aggregation

Combine all signals into a decision:

Calculate Final Technical Score (normalize to -100% to +100%):

Score Range Signal Action
> +60% Strong BUY BUY (full position)
+40% to +60% BUY BUY (75% position)
+20% to +40% Weak BUY BUY if sentiment bullish
-20% to +20% Neutral HOLD
-40% to -20% Weak SELL SELL if sentiment bearish
-60% to -40% SELL SELL (75% position)
< -60% Strong SELL SELL (full position)

Combine with Sentiment:

| Technical | Sentiment | Final Decision | |-

Полный SKILL.md на GitHub

Установить coinbase-trading в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл coinbase-trading?

Autonomous crypto trading with technical and sentiment analysis. Use when executing trades, analyzing markets, or managing positions on Coinbase.

Как установить скилл coinbase-trading?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл coinbase-trading запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить coinbase-trading с