Agent skill · Backend & API

alpaca-broker-journals

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 internal account-to-account movement in any language. For deposits/withdrawals to EXTERNAL banks, use funding-transfers instead.

alpacahqgithub.com/alpacahqGitHub ↗
claude-codecodexcursorApache-2.0
Install
npx skills add alpacahq/alpaca-skills --skill journals --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/broker-api/journals/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 106
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Alpaca Broker API — Journals Journals move value **between two accounts within your own Alpaca omnibus** — typically between a pre-funded firm/sweep account and a user account. They are the engine behind "instant funding," cashback, and share rewards. They never touch the outside banking world (that's `alpaca-broker-funding-transfers`). > Read `alpaca-broker-integration` first. Broker API + HTTP Basic auth. ## Reference - Guide: `https://docs.alpaca.markets/docs/funding-via-journals` - API ref: `https://docs.alpaca.markets/reference/createjournal` - Live schema: `alpaca-docs` MCP → `get-endpoint` title `"Broker API"` path `/v1/journals` ## 1. Endpoints | Method | Path | Purpose | |--------|------|---------| | POST | `/v1/journals` | Single journal (JNLC cash or JNLS shares) | | POST | `/v1/journals/batch` | One source → many destinations (JNLC only) | | POST | `/v1/journals/reverse_batch` | Many sources → one destination (JNLC only) | | GET | `/v1/journals` | List (filters: `after`, `before`, `status`, `entry_type`, `to_account`, `from_account`, `limit`) | | GET | `/v1/journals/{journal_id}` | Retrieve one | | DELETE | `/v1/journals/{journal_id}` | Cancel a **pending** journal (2

What's inside
Steps it walks through
  1. Reference
  2. 1. Endpoints
  3. 2. JNLC vs JNLS
  4. 3. Idempotency-Key header — USE IT
  5. 4. Batch vs reverse-batch (JNLC only, all-or-nothing)
  6. 5. Status lifecycle
  7. 6. SSE journal events
  8. 7. Constraints & gotchas
  9. 8. The sweep-account funding pattern (why journals exist)
Ships with 1 file
  • reference.md
More from alpaca-skills
All skills →
About this skill
What does the alpaca-broker-journals skill do?

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 internal account-to-account movement in any language. For deposits/withdrawals to EXTERNAL banks, use funding-transfers instead.

How do I install it?

Run `npx skills add alpacahq/alpaca-skills --skill journals --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From alpacahq/alpaca-skills, a repository with 106 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going