cex_io_last_price {cryptotrackr}R Documentation

cex_io_last_price

Description

cex_io_last_price

Usage

cex_io_last_price(symbol_1, symbol_2, timeout_seconds = 60)

Arguments

symbol_1

the first currency in your pair

symbol_2

the second currency in your pair

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a list with the last price of your specified currency pair.

Examples

symbol_1 <- 'btc'
symbol_2 <- 'usd'
cex_io_last_price(symbol_1, symbol_2, 4.5)

[Package cryptotrackr version 1.3.3 Index]