alpaca-trading
Skill by mickpletcher
Alpaca Trading guides an assistant through work in the Trading repository on Alpaca helpers, backtesting, journaling, scheduling and PowerShell modules. It defaults to paper trading and keeps live order risk explicit. It is built for developers maintaining that repo.
Install alpaca-trading
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mickpletcher/AI-Skills /tmp/AI-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/AI-Skills/master-skills/alpaca-trading ~/.claude/skills/alpaca-tradingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mickpletcher/AI-Skills /tmp/AI-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/AI-Skills/master-skills/alpaca-trading ~/.gemini/antigravity-cli/skills/alpaca-tradingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Alpaca Trading is an agent skill for working in the Trading repository. It covers Alpaca helper scripts, backtesting, journaling, scheduler jobs and reusable PowerShell Alpaca modules. The skill tells the assistant to prefer additive changes and to keep existing trading logic unless the user asks otherwise. It also lists the repo areas it applies to, such as Alpaca/, Backtesting/, Journal/, Scheduler/ and src/.
The skill defaults to paper trading and says live trading needs explicit user instruction and a confirmation gate. It asks the assistant to treat AI analysis as advisory, keep API secrets in environment variables, and log trade actions to the journal. It is meant for people working in the Trading repo on Alpaca scripts, backtesting, journaling or scheduling. The source also includes a regression test matrix and an order lifecycle checklist for changes that touch order placement.
Written from the project's SKILL.md and checked against it.
What it can do
- Repo change planningIdentifies which existing repo area a change belongs to and reads nearby files before proposing edits.
- Paper-trading defaultsUses the Alpaca paper endpoint in examples unless the user explicitly asks for live trading.
- Live trading guardAdds an explicit confirmation gate to scripts that can send live orders, keeping the live path opt-in.
- AI analysis guardrailsKeeps model output advisory, so deterministic code checks must apply before any order is placed.
- Order lifecycle reviewWalks entry, open orders, partial fills, exits, cancel and replace, and failure paths for order changes.
- Regression test planningMaps each kind of change to the test passes that should run, such as Pester tests and backtest determinism checks.
- Alpaca behavior notesFlags constraints such as fractional share order types, crypto rules, IEX-only data and PDT rules.
- Secret handlingKeeps API credentials in environment variables or existing repo config flows instead of hardcoding them.
What you need
- Access to the Trading repository
- Alpaca API credentials, supplied through environment variables or existing repo config
- Python and PowerShell, as used by the mixed-stack repo
Try asking
- Use alpaca-trading to review my Trading repo for the safest way to add bracket orders.
- Help me build an Alpaca paper trading workflow for SPY with entry and exit rules.
- Use alpaca-trading to plan a repo level trading automation schedule.
Good to know
- Not financial advice, and it makes no guaranteed performance claims.
- Live trading requires explicit user instruction and a confirmation guard.
- Non-trivial changes need repo files, specs or tests that the user supplies or confirms exist.
- Does not cover unrelated trading platforms.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: master-skills/alpaca-trading/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to alpaca-trading
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
alpaca-trading: common questions
Does it place live trades?
It defaults to Alpaca paper trading. Live trading needs explicit user instruction, and scripts that can send live orders need an explicit confirmation gate.
Can AI output trigger orders?
No. The source says model output alone must not place an order and that deterministic code checks must apply.
Which parts of the repo does it cover?
The source lists Alpaca/, Backtesting/, Journal/, Scheduler/, src/, Tests/, rsi_macd_bot/ and btc-signal-executor/.
How do I install alpaca-trading?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is alpaca-trading free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is alpaca-trading safe to use?
It scores 45 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to alpaca-trading?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
