Alpa.Client (AlpaEx v1.0.3)
View SourceHTTP client for the Alpaca API.
Uses Req for HTTP requests with automatic:
- Authentication header injection
- JSON encoding/decoding
- Error handling
- Retry logic for rate limiting
Summary
Functions
Make a DELETE request to the trading API.
Make a GET request to the trading API.
Make a GET request to the market data API.
Make a PATCH request to the trading API.
Make a POST request to the trading API.
Make a PUT request to the trading API.
Make a request with explicit config.
Types
@type response() :: {:ok, map() | [map()] | :deleted} | {:error, Alpa.Error.t()}
Functions
Make a DELETE request to the trading API.
Make a GET request to the trading API.
Make a GET request to the market data API.
Make a PATCH request to the trading API.
Make a POST request to the trading API.
Make a PUT request to the trading API.
Make a request with explicit config.