# claude-tradingview-mcp-autotrading

The claude-tradingview-mcp-autotrading is a Claude Code skill connecting an agent to TradingView charts and executing BitGet trades. It checks all strategy conditions before each trade and logs executions to CSV for tax records.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 104 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/claude-tradingview-mcp-autotrading/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/claude-tradingview-mcp-autotrading

## What it does

The skill bridges the agent to TradingView via MCP and routes orders to the exchange — primarily BitGet, with Binance, Bybit, OKX, Coinbase, Kraken, KuCoin, Gate.io, MEXC, and Bitfinex also covered, each with a separate guide under `docs/exchanges/`.

On every run the bot loads `rules.json`, pulls live candle data through TradingView MCP or the Binance API, calculates MACD, RSI, and moving averages, then walks through every `entry_rules` condition. A trade goes out only when all conditions pass. The outcome writes to `safety-check-log.json`; completed trades append to `trades.csv` with date, price, fees, and net amounts.

Node.js 18+, a configured TradingView MCP, and exchange API keys are required before the skill can run. The `.env` file holds `BITGET_API_KEY`, `BITGET_SECRET_KEY`, `BITGET_PASSPHRASE`, plus position size limits (`MAX_TRADE_SIZE_USD`) and a daily trade cap (`MAX_TRADES_PER_DAY`). With `PAPER_TRADING=true` the bot runs all checks and writes logs without touching real funds — set it to `false` and live orders go through.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill claude-tradingview-mcp-autotrading -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/claude-tradingview-mcp-autotrading/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/claude-tradingview-mcp-autotrading/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill claude-tradingview-mcp-autotrading -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/claude-tradingview-mcp-autotrading/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill claude-tradingview-mcp-autotrading -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/claude-tradingview-mcp-autotrading/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/claude-tradingview-mcp-autotrading
```

2. **Manually: put the files in place**
- File: `.github/skills/claude-tradingview-mcp-autotrading/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill claude-tradingview-mcp-autotrading -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/claude-tradingview-mcp-autotrading
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/claude-tradingview-mcp-autotrading/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill claude-tradingview-mcp-autotrading -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/claude-tradingview-mcp-autotrading/SKILL.md

## When to use it
- connect the agent to live TradingView charts via MCP
- execute trades on BitGet automatically from strategy signals
- gate every trade behind a full entry-rules safety check
- generate a `trades.csv` with fees for tax reporting
- build a `rules.json` strategy from YouTube video transcripts

## Example prompts
- Set up an automated trading bot using the strategy in `rules.json` and connect the BitGet API
- Run the bot and evaluate all entry conditions against live TradingView data
- Generate `rules.json` from a YouTube trading strategy transcript using the extract-strategy prompt

## Similar
- [tradingview-mcp](https://affpapa.org/en/nevibecode/skills/tradingview-mcp.md) — skill · 275 installs
- [tradingview-quantitative](https://affpapa.org/en/nevibecode/skills/tradingview-quantitative.md) — skill · 1500 installs
- [tradingview-reader](https://affpapa.org/en/nevibecode/skills/tradingview-reader.md) — skill · 1200 installs
- [okx-cex-bot](https://affpapa.org/en/nevibecode/skills/okx-cex-bot.md) — skill · 10300 installs
- [square-post](https://affpapa.org/en/nevibecode/skills/square-post.md) — skill · 40600 installs
- [polymarket-arbitrage-trading-bot](https://affpapa.org/en/nevibecode/skills/polymarket-arbitrage-trading-bot.md) — skill · 987 installs

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
