alpacahq

20 mods across 3 repositories, 1.7k stars between them.

alpacahq/alpaca-mcp-server

Instructions file CodexOpenCode

Instructions for alpacahq/alpaca-mcp-server, covering agent instructions, architecture overview, syncing openapi specs, step 1: download latest specs and step 2: diff the specs.

929 8d ago A 1,625 tokens original MIT

alpacahq/alpaca-trade-api-js

Instructions file CodexOpenCode

Instructions for alpacahq/alpaca-trade-api-js, covering agents.md, conventions, commands, releases & changelog (changesets) and automated release flow on master.

601 19d ago A 2,792 tokens original Apache-2.0

alpacahq/alpaca-trade-api-js

Skill Claude CodeCodex

Integrate and build on the @alpacahq/alpaca-trade-api TypeScript SDK for the Alpaca Trading and Market Data APIs (the unified Alpaca client, ergonomic order builders, normalized market-data shapes, pagination, typed errors, resilience, and real-time streaming). Use when writing or reviewing code that imports…

601 19d ago A 123 tokens original Apache-2.0

starter-dashboard

04

alpacahq/alpaca-trade-api-js

Skill Claude CodeCodex

Scaffold a local Next.js Alpaca dashboard using the published @alpacahq/alpaca-trade-api SDK for paper Trading API and Market Data API workflows. Use when the user asks for starter-dashboard, a starter Alpaca dashboard, a local Trading API demo, a Market Data API dashboard, or a greenfield Next.js Alpaca SDK prototype.

601 19d ago A 75 tokens original Apache-2.0

alpacahq/alpaca-skills

Instructions file CodexOpenCode

Instructions for alpacahq/alpaca-skills, covering agent guidelines, repository layout, skill structure, adding a skill and continuous integration.

140 6d ago A 437 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Open and manage brokerage accounts via the Alpaca Broker API — account creation, KYC/CIP, identity & disclosures, agreements, document upload (incl. W-8BEN), account status lifecycle, and account updates/closure. Use when a developer is building onboarding, KYC, or account-management flows on Alpaca in any language.

140 6d ago A 76 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Move money between an Alpaca brokerage account and the EXTERNAL banking world via the Broker API — ACH relationships, wire recipient banks, classic transfers (deposits/withdrawals), the v1beta funding wallet (international/instant), transfer status lifecycles, and fees. Use when building deposit/withdrawal flows or…

140 6d ago A 101 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Entry point for integrating with the Alpaca Broker API (plus Market Data and Trading APIs) in any programming language. Use when a developer wants to build on Alpaca — open brokerage accounts, run KYC, fund accounts, move money via journals, place orders, consume real-time event streams, or pull market data — and need…

140 6d ago A 91 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Move cash (JNLC) and securities (JNLS) BETWEEN accounts inside your own Alpaca omnibus via the Broker API — single, batch, and reverse-batch journals, the Idempotency-Key header, journal status lifecycle including corrections, and the firm/sweep-account pattern that powers instant funding and share rewards. Use for…

140 6d ago A 98 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Pull and stream US stock market data from Alpaca — REST snapshots/bars/trades/quotes, historical bars with timeframes and feeds (IEX vs SIP), the assets master list, market clock & calendar, news, and the real-time WebSocket stream. Use when building charts, quotes, price feeds, or asset metadata on Alpaca in any…

140 6d ago A 80 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Handle money and numeric precision correctly with the Alpaca API — numbers-as-strings on the wire, decimals vs floats, rounding/truncation before sending amounts, fractional-share precision, and safe DB storage. Use when handling monetary amounts, order quantities, or prices in any Alpaca integration in any language.

140 6d ago A 69 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Make Alpaca API clients resilient — rate-limit header handling, HTTP 429 backoff, exponential retry, bounded concurrency/worker pools, pagination loops, batch sizing, and timeouts. Use when building robust REST clients, bulk/cron jobs, or reconciliation sweeps against Alpaca in any language.

140 6d ago A 70 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Keep local state correct against the Alpaca Broker API — idempotency keys, ID-keyed upserts, event snapshotting and dedup, polling rails that have no events, nightly reconciliation/heal jobs, status state-machine mapping, and handling eventual consistency and corrections. Use when designing the data-correctness layer…

140 6d ago A 82 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Consume Alpaca Broker API real-time event streams over Server-Sent Events (SSE) — account status, journal, transfer/funding, trade, and non-trade-activity events — reliably. Covers connection, auth, replay cursors (since/sinceid), heartbeats, reconnection/backoff, ordering, and idempotent processing. Use when building…

140 6d ago A 93 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Place and manage orders on behalf of accounts via the Alpaca Broker API — order creation (qty vs notional, fractional shares, order types/TIF/classes), order status lifecycle, replace/cancel, positions, and trading-account buying power. Use when building trading, recurring-invest, or portfolio flows on Alpaca in any…

140 6d ago A 74 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Execute deterministic, reproducible historical backtests from a start date, end date, and strategy concept using the Alpaca CLI plus agent-written workspace code. Use when the user wants to backtest a strategy, simulate historical trades, or return trades, diagnostics, and reproducibility artifacts.

140 6d ago A 63 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.

140 6d ago A 67 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca Trading API MCP Server. Supports US equities, options, and crypto. Use this skill when you want your AI agent to execute paper trades through MCP tool calls — no CLI installation or direct API coding required.

140 6d ago B 69 tokens original Apache-2.0

alpacahq/alpaca-skills

Skill Claude CodeCodex

Preview, submit, inspect, and manage Alpaca paper-trading orders across US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal — from a backtest, manual idea, or automated system — and execute it safely in your Alpaca paper-trading environment. This generic version works…

140 6d ago A 95 tokens original Apache-2.0