last_price.Rd
Wraps GET https://cex.io/api/last_price/{symbol1}/{symbol2}
.
last_price(base, quote)
base | Base currency |
---|---|
quote | Quote currency |
A tibble
last_price("ETH", "USD")#> # A tibble: 1 × 3 #> base quote price #> <chr> <chr> <chr> #> 1 ETH USD 3913last_price("BTC", "USD")#> # A tibble: 1 × 3 #> base quote price #> <chr> <chr> <chr> #> 1 BTC USD 51677.1