Learn R Programming

PoloniexR (version 0.0.1)

Return24hVolume,PoloniexPublicAPI-method: Returns 24-hour trading volumes for all available markets. Additionally, total trading volumes for the 5 primary currencies are also retrieved.

Description

Returns 24-hour trading volumes for all available markets. Additionally, total trading volumes for the 5 primary currencies are also retrieved.

Usage

# S4 method for PoloniexPublicAPI
Return24hVolume(theObject)

Arguments

theObject

The public client API object on which the function should be called

Value

A list containing the 24 hour volume information. volume.pairs: A dataframe Rows - Cryptocurrency Trading Pairs. Every pair represents a market. Columns - Transacted trading volumes for a particular market. Volumes are expressed in both base currency units and quoted currency units. volume.totals: Total trading volumes of five primary currencies.

Examples

Run this code
# NOT RUN {
poloniex.public <- PoloniexPublicAPI()
volume.info <- Return24hVolume(poloniex.public)
head(volume.info$volume.pairs)
volume.info$volume.totals
# }

Run the code above in your browser using DataLab