cex_io_converter {cryptotrackr}R Documentation

cex_io_converter

Description

cex_io_converter

Usage

cex_io_converter(symbol_1, symbol_2, amount, timeout_seconds = 60)

Arguments

symbol_1

the first currency in your pair

symbol_2

the second currency in your pair

amount

the currency amount to convert denominated in symbol_1

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns the converted amount denominated in symbol_2

Examples

symbol_1 <- 'btc'
symbol_2 <- 'usd'
amount <- '2.5'
cex_io_converter(symbol_1, symbol_2, amount, 4.5)

[Package cryptotrackr version 1.3.3 Index]