Wraps GET https://cex.io/api/last_price/{symbol1}/{symbol2}.

last_price(base, quote)

Arguments

base

Base currency

quote

Quote currency

Value

A tibble

Examples

last_price("ETH", "USD")
#> # A tibble: 1 × 3 #> base quote price #> <chr> <chr> <chr> #> 1 ETH USD 3913
last_price("BTC", "USD")
#> # A tibble: 1 × 3 #> base quote price #> <chr> <chr> <chr> #> 1 BTC USD 51677.1