AlpacaElixir v0.1.7 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 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 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}.

An Elixir wrapper for the Alpaca stock trading API.