Coinbase.API.Prices

Source

Summary

get_buy(coinbase, optionals \\ %{})

Get the buy price for bitcoin

get_sell(coinbase, optionals \\ %{})

Get the sell price for bitcoin

get_spot(coinbase, optionals \\ %{})

Get the spot price for bitcoin

Functions

get_buy(coinbase, optionals \\ %{})

Specs:

Get the buy price for bitcoin

Optional params: qty (string): The quantity of bitcoin you would like to buy (default is 1). currency (string): Default is USD. Right now this is the only value allowed.

Source
get_sell(coinbase, optionals \\ %{})

Specs:

Get the sell price for bitcoin

Optional params: qty (string): The quantity of bitcoin you would like to buy (default is 1). currency (string): Default is USD. Right now this is the only value allowed.

Source
get_spot(coinbase, optionals \\ %{})

Specs:

Get the spot price for bitcoin

Optional params: currency (string): Default is USD. Right now this is the only value allowed.

Source