# ctrader-cli

This skill guides shell-based use of the cTrader CLI for market data, trade management, and cBot workflows. Use it when you want an agent to work with cTrader without the desktop UI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 280 installs · ★ 11 repo stars
- Author: Spotware Systems Ltd
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/spotware/ctrader-skills/tree/HEAD/skills/ctrader-cli/SKILL.md
- Updated: 2026-08-21
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ctrader-cli

## What it does

The skill gives an agent instructions for invoking `ctrader-cli` from a shell. It covers account and symbol lookups, prices and candles, orders, positions, alerts, and the cBot and indicator lifecycle, including scaffolding, builds, backtests, and runs.

It explains the CLI’s batch and shell-routed paths. The chosen path affects JSON shape and accepted flags. For instance, batch `symbols` returns symbol IDs, while the `-q` route returns classification fields instead; choose batch mode when your task needs IDs.

The cTrader CLI must be installed separately. Windows uses `ctrader-cli.exe`; macOS and Linux use `ctrader-cli`. The command examples target `bash`, including Git Bash on Windows or a POSIX shell. The skill carries a proprietary license.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add spotware/ctrader-skills --skill ctrader-cli -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add spotware/ctrader-skills --skill ctrader-cli -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add spotware/ctrader-skills --skill ctrader-cli -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install spotware/ctrader-skills skills/ctrader-cli
```

2. **Manually: put the files in place**
- File: `.github/skills/ctrader-cli/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add spotware/ctrader-skills --skill ctrader-cli -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/spotware/ctrader-skills --path skills/ctrader-cli
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add spotware/ctrader-skills --skill ctrader-cli -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/spotware/ctrader-skills/tree/HEAD/skills/ctrader-cli/SKILL.md

## When to use it
- list cTrader accounts and symbols
- fetch prices and candles for an instrument
- place, edit, or cancel an order
- inspect positions, deals, and exposure
- build or backtest a cBot through the CLI

## Example prompts
- List my cTrader accounts and available symbols.
- Fetch recent EURUSD candles and check my open positions.
- Build and run this cBot with the cTrader CLI.

## Similar
- [grimoire-polymarket](https://affpapa.org/en/nevibecode/skills/grimoire-polymarket.md) — skill · 11900 installs
- [solana-payments-wallets-trading](https://affpapa.org/en/nevibecode/skills/solana-payments-wallets-trading.md) — skill · 478 installs
- [crypto-com-exchange](https://affpapa.org/en/nevibecode/skills/crypto-com-exchange.md) — skill · 224 installs
- [kalshi-trading-bot-cli](https://affpapa.org/en/nevibecode/skills/kalshi-trading-bot-cli.md) — skill · 106 installs
- [okx-cex-market](https://affpapa.org/en/nevibecode/skills/okx-cex-market.md) — skill · 10800 installs
- [okx-cex-trade](https://affpapa.org/en/nevibecode/skills/okx-cex-trade.md) — skill · 10700 installs

From the same set: [spotware/ctrader-skills](https://affpapa.org/en/nevibecode/by/spotware/ctrader-skills.md) — 2 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
