AlpacaElixir v2.1.0 Alpaca.Last.Quote View Source

A resource that allows us to query for the last quote details for a symbol

A last quote has the following methods we can call on it

get/1

The get/1 method allows us to get a singular last quote for a given symbol by calling Alpaca.Last.Quote.get(symbol). Where symbol is the stock symbol you want to retrieve last quote information for.

Link to this section Summary

Functions

A function to get a singlular resource from the Alpaca API

Link to this section Functions

Specs

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

A function to get a singlular resource from the Alpaca API