Package markets.alpaca.client.rest
package markets.alpaca.client.rest
Utilities for working with generated Alpaca REST clients.
This package contains adapters for generated callback-style async methods, wrappers for HTTP
response metadata, pagination helpers for endpoints that return next_page_token, and
rate-limit header parsing. The helpers keep generated Broker, Market Data, and Trading API types
separate so callers can preserve the checked exception type for the API they are using.
-
ClassDescriptionResult metadata for a generated REST API call completed through
AlpacaFutures.Adapters from generated*Async(..., ApiCallback<T>)REST methods toCompletableFuture.AlpacaPage<T>A single paginated REST response page with HTTP metadata.Helpers for Alpaca REST endpoints that return anext_page_token.AlpacaPagination.PageConsumer<T,E extends Exception> AlpacaPagination.PageFetcher<T,E extends Exception> Options for bounded and defensive pagination helpers.Builder forAlpacaPaginationOptions.Behavior when a pagination sequence repeats a returned next-page token.Parsed rate-limit metadata from Alpaca REST response headers.