powered by
cex_io_last_price
cex_io_last_price(symbol_1, symbol_2, timeout_seconds = 60)
returns a list with the last price of your specified currency pair.
the first currency in your pair
the second currency in your pair
seconds until the query times out. Default is 60.
symbol_1 <- 'btc' symbol_2 <- 'usd' cex_io_last_price(symbol_1, symbol_2, 4.5)
Run the code above in your browser using DataLab