ubci_get: get coin price

Description Usage Arguments Value Examples

Description

get coin price data from source. Source is https://upbit.com/exchange. This page shows the multiple cryptocurrency price.

Usage

1
ubci_get(code, from, to)

Arguments

code

coin name fom ubci_get_options() link "UPBIT.KRW-BTC".

from

Optional for various time series. A character string representing a start date in YYYY-MM-DD format. Default is 2000-01-01.

to

Optional for various time series. A character string representing an end date in YYYY-MM-DD format. Default is system date today.

Value

Return type is tibble has columes contain code, date, open, high, low, close, volume.

Examples

1
2
3
4
5
btc <- ubci_get(code = "UPBIT.KRW-BTC")
btc

ubci_get(code = "UPBIT.KRW-BTC", from="2018-05-15")
ubci_get(code = "UPBIT.KRW-BTC", to="2018-05-15")

ubci documentation built on June 11, 2019, 1:02 a.m.