alpaca-broker-reconciliation-idempotency

Official

Maintain accurate local state against Alpaca Broker API

Authoralpacahq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures local state remains accurate against the Alpaca Broker API by handling idempotency keys, upserts, event deduplication, polling, reconciliation, and handling eventual consistency and corrections.

Core Features & Use Cases

  • Idempotent Writes: Safely retry money and order writes without duplicates.
  • Event Intake: Process replayed/duplicate events without doubling processing.
  • Reconciliation Sweep: Regularly pull authoritative state from Alpaca for local convergence.
  • Polling Rails: Poll for events from APIs that do not emit events.
  • Status State-Machine Mapping: Map Alpaca statuses to internal states.
  • Eventual Consistency Handling: Design for eventual consistency and corrections.
  • Use Case: Use this Skill to build a robust data-correctness layer for any Alpaca integration.

Quick Start

Use the 'alpaca-broker-reconciliation-idempotency' skill to perform a reconciliation sweep for all accounts.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: alpaca-broker-reconciliation-idempotency
Download link: https://github.com/alpacahq/alpaca-skills/archive/main.zip#alpaca-broker-reconciliation-idempotency

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.