get_sel_data_cg: Get all available historical data for a coin

Description Usage Arguments Value Author(s) Examples

Description

Get daily price, market cap and volume for a specific crypto- currency from coingecko

Usage

1
get_sel_data_cg(coin, coin_basis, days, sel)

Arguments

coin

coin name eg "bitcoin"

coin_basis

base currency eg "usd"

days

number of days, eg number or "max"

sel

selection of Data: 1 for price, 2 for market cap and 3 for volume.

Value

A xts either of price, market cap and volume

Author(s)

Philipp Giese

Examples

1
get_sel_data_cg("bitcoin","usd","max",1)

philbtcecho/btcecho documentation built on June 6, 2019, 10:59 a.m.