AlpacaElixir v0.2.0 Alpaca.Account View Source
A resource that allows us to query an Account from Alpaca
Link to this section Summary
Link to this section Functions
Specs
Retrieve your Alpaca trading account info
Example
iex> {:ok, %{} = account} = Alpaca.Account.get()
Allows us to retrieve our own account information as a result tuple {:ok, %{}} if successful. If not success we will get back a result tuple {:error, {status: http_status_code, body: http_response_body}}