Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

alpaca-broker-journals

Skill by alpacahq

Explains how to move cash and shares between accounts inside your own Alpaca omnibus using the Broker API. It covers journal types, idempotent creates, status handling and the sweep-account funding pattern. Aimed at developers building internal account movement, not external bank transfers.

  • Score 70
  • 174 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install alpaca-broker-journals

Built from the published package, never by AI.

git clone --depth 1 https://github.com/alpacahq/alpaca-skills /tmp/alpaca-skills && mkdir -p ~/.claude/skills && cp -r /tmp/alpaca-skills/skills/broker-api/journals ~/.claude/skills/alpaca-broker-journals

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install alpaca-broker-journals in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Alpaca Broker API Journals is an agent skill that explains how to move cash (JNLC) and securities (JNLS) between accounts inside your own Alpaca omnibus. It covers single, batch and reverse-batch journals, the Idempotency-Key header, the journal status lifecycle including corrections, and the firm or sweep-account pattern used for instant funding and share rewards.

It is meant for internal account-to-account movement in any language. Deposits and withdrawals to external banks are handled by a separate funding-transfers skill. The source also notes eligibility review, JNLC limits that push journals to pending, and that executed journals can still be reversed.

Written from the project's SKILL.md and checked against it.

What it can do

  • Single journalsCreate one JNLC cash journal or JNLS share journal between two accounts.
  • Batch journalsSend one source account to many destinations in a single JNLC request.
  • Reverse-batch journalsPull cash from many user accounts back into one firm account.
  • Idempotency-Key headerMake journal creates retry-safe by reusing a client-generated key.
  • Journal listing and lookupList journals with filters or retrieve a single journal by ID.
  • Journal cancellationCancel a pending journal with DELETE; executed journals must be reversed with a mirror journal.
  • Status lifecycle handlingInterpret the ten journal statuses, including executed, canceled and correct.
  • Journal status event streamConsume journal status changes through the SSE status endpoint.
  • Sweep-account funding patternFund user accounts instantly from a pre-funded firm account using JNLC.

What you need

  • Alpaca Broker API access
  • Client-credentials Bearer token or legacy Basic auth
  • Alpaca review for the cash-pooling and journals use case

Try asking

  • Create a JNLC journal moving 100 USD from the firm account to a user
  • Retry a journal create safely using an Idempotency-Key header
  • List journals filtered by status rejected for the last week

Good to know

  • JNLS moves securities from firm to user only.
  • JNLC limits default to $50 per transaction and $1,000 daily, pushing journals to pending.
  • Executed journals are not final and can still be reversed by Alpaca cashiering.
  • GET /v1/journals returns 422 if the result set exceeds 100,000 records.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/broker-api/journals/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to alpaca-broker-journals

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

alpaca-broker-journals: common questions

Does an executed journal mean the funds are final?

No. The source says executed means balances updated but not final, since Alpaca cashiering can still reverse it.

How do I avoid double funding when a request times out?

Send the same Idempotency-Key with an identical body on retries. The original journal is returned instead of a duplicate.

Can this skill handle deposits and withdrawals to a bank?

No. The source says internal journals never touch external banking, and external transfers are covered by the funding-transfers skill.

How do I install alpaca-broker-journals?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is alpaca-broker-journals free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is alpaca-broker-journals safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. 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-broker-journals?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

alpaca-broker-journals Install

Add to stack

Loading.