Learn R Programming

cryptotrackr (version 1.3.3)

cex_io_converter: cex_io_converter

Description

cex_io_converter

Usage

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

Value

returns the converted amount denominated in symbol_2

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.

Examples

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

Run the code above in your browser using DataLab