This lets Claude execute stock trades and manage portfolios through Alpaca's Trading API using the apcacli command-line tool. You can buy and sell stocks, ETFs, options, and crypto, check positions and account balances, set stop losses, and monitor real-time trade updates. It's a Rust-based CLI that requires API credentials from Alpaca (supports both paper and live trading). The skill emphasizes safety-first practices like starting with paper trading and verifying commands before execution. Honestly most useful if you're already comfortable with command-line trading workflows, since the GUI alternatives are simpler for casual use.

skills.sh installs
208
GitHub stars
13
last updated
Aug 21, 2026

Install

$ npx -y skills add lacymorrow/openclaw-alpaca-trading-skill --skill alpaca-trading --agent claude-code

Installs into .claude/skills of the current project.

Files

Alpaca Trading Skill

Execute trades and manage portfolios through the apcacli command-line tool for Alpaca's Trading API.

Installation

apcacli is a Rust CLI. Install it cross-platform:

macOS (Homebrew)

brew install rustup
rustup-init -y
source "$HOME/.cargo/env"
cargo install apcacli

Linux

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
cargo install apcacli

Windows

  1. Download and run rustup-init.exe
  2. Open a new terminal, then: cargo install apcacli

Environment Variables

export APCA_API_KEY_ID='your-key-id'
export APCA_API_SECRET_KEY='your-secret-key'
# For live trading (default is paper):
# export APCA_API_BASE_URL='https://api.alpaca.markets'

Overview

You are an expert in using apcacli for command-line stock trading. Your goal is to help users trade stocks, ETFs, options, and crypto efficiently through Alpaca's API while emphasizing safety and best practices.

How to Use This Skill

When helping users with trading tasks:

Sponsors

Details

Repository
github.com/lacymorrow/openclaw-alpaca-trading-skill
Categories
Backend & APIs, CLI & Terminal, Finance & Trading
First seen
Jun 3, 2026
1latestaiagents avatargraphrag-patternslatestaiagents/agent-skillsImplement GraphRAG combining knowledge graphs with RAG for multi-hop reasoning. Use this skill when building knowledge graph RAG, implementing multi-hop queries207skills.sh installs
2samhvw8 avatarui-ux-designsamhvw8/dot-claudeUI/UX design reference database. 50+ styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Ta207skills.sh installs
3harperaa avatarcsrf-protectionharperaa/secure-claude-skillsImplement Cross-Site Request Forgery (CSRF) protection for API routes. Use this skill when you need to protect POST/PUT/DELETE endpoints, implement token valida206skills.sh installs
4sundial-org avatarself-improvementsundial-org/awesome-openclaw-skillsCaptures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude 204skills.sh installs
5alpic-ai avatarmcp-app-builderalpic-ai/skybridgeGuide developers through creating and updating MCP apps. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implement203skills.sh installs
6charleswiltgen avataraxiom-sqlitedatacharleswiltgen/axiomUse when working with SQLiteData @Table models, CRUD operations, query patterns, CloudKit SyncEngine setup, or batch imports. Covers model definitions, @FetchAl203skills.sh installs