cex_io_converter: cex_io_converter

View source: R/cex_io.R

cex_io_converterR 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)

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.