AlpacaElixir v2.1.0 API Reference
Modules
A resource that allows us to query an Account from Alpaca
A resource that allows us to perform operations on an Account Activity
A resource that allows us to query an Account Configuration from Alpaca
A resource that allows us to perform operations on an Account portfolio history
A resource that allows us to perform operations on an Asset
A resource that allows us to query the Bars data from Alpaca The bars API provides time-aggregated price and volume data.
A resource that allows us to perform operations on an Calendar
Client responsible for making requests to Alpaca and handling the responses.
Exception for when a request is made without a Client ID and Secret.
A resource that allows us to perform operations on an clock
A resource that allows us to query for the last quote details for a symbol
A resource that allows us to query for the last trade of a symbol
A resource that allows us to perform operations on an Order
A resource that allows us to perform operations on an Position
This module uses a macro to allow us to easily create the base HTTP methods for an Alpaca Resource. Most Alpaca requests have a common set of methods to get a specific resource by ID, list all resources, update the resource, delete all resources and delete a resource by id. By using this macro we can easily build out new API endpoints in a single line of code.
This middleware handles responses from the Alpaca API and returns it in a result tuple of either {:ok, reponse_body} or {:error, error_message}.
The Alpaca.Stream module handles negotiating the connection, then sending frames, receiving frames, closing, and reconnecting that connection for the websocket streaming API of Alpaca. A simple client implementation would be
A resource that allows us to perform operations on an Watchlist
An Elixir wrapper for the Alpaca stock trading API.