Skip to main content

Alpaca Java Client

alpaca-java is a Java 17+ SDK for Alpaca Broker, Market Data, Trading, WebSocket, and Broker Events SSE APIs.

This wiki is the narrative documentation layer for the SDK. It should explain workflows, safe defaults, examples, and SDK conventions. The generated class and method reference lives separately in the Javadoc API reference.

Documentation shape

  • Use the wiki for task-oriented guides and SDK concepts.
  • Use Javadocs for exact classes, methods, generated REST models, and package-level reference.
  • Keep generated REST API usage behind AlpacaClientFactory or AlpacaClient in examples.
  • Keep handwritten helpers, WebSocket clients, and SSE clients visible as first-class SDK entry points.