Learn R Programming

rbitcoinchartsapi (version 1.0.4)

GetMarketData: This function will return an array with elements for each market.

Description

General market data can be accessed here.

Usage

GetMarketData(params)

Arguments

params
Any parameter accepted by this web service call -- see here

Examples

Run this code
params <- list (currency="USD")
 tryCatch(
     usd <- GetMarketData (params),
     error =
         function (e) {
             print (
                 paste (
                     "An exception was thrown -- details follow: ",
                     e,
                     sep=""
                 )
             )
         }
     )

Run the code above in your browser using DataLab