AlpacaElixir v2.2.0 Alpaca.Account.Portfolio.History View Source

A resource that allows us to perform operations on an Account portfolio history

An account portfolio history has the following methods we can call on it

list/1

The list/1 method allows us to list all account portolio history by calling Alpaca.Account.Portfolio.History.list(params). Where the params is a map of query params defined by the Alpaca API documentation.

Link to this section Summary

Functions

A function to list all resources from the Alpaca API

A function to update an existing resource using the Alpaca API

Link to this section Functions

Specs

list(map()) :: {:ok, [map()]} | {:error, map()}

A function to list all resources from the Alpaca API

Specs

update(String.t(), map()) :: {:ok, map()} | {:error, map()}

A function to update an existing resource using the Alpaca API