get_pair_snapshot: Get data for a currency pair

Description Usage Arguments Value References Examples

View source: R/public_api.R

Description

get_pair_snapshot provides aggregated and individual data for the provided currency pair in every exchange available.

Usage

1
get_pair_snapshot(fsym, tsym)

Arguments

fsym

character. 3 letter name for coin to retreive.

tsym

character. 3 letter name for how details should be reported for fsym.

Value

A list of 3 containing the following:

coin_data

A tibble containing general coin data

aggregated_data

A tibble containing aggregate data about the pair

exchange_data

A tibble containing exchange data for each available exchange and the provided pair

References

https://www.cryptocompare.com/api#-api-data-coinsnapshot-

Examples

1
2
3
4
5
## Not run: 
# Get data on BTC and USD
get_pair_snapshot("BTC", "USD")

## End(Not run)

blairj09/cryptor documentation built on May 23, 2019, 7:32 a.m.