get_open_close_crypto: Daily Open/Close for Crypto

Description Usage Arguments Value Examples

View source: R/cypto.R

Description

Get the open, close prices of a symbol on a certain day.

Usage

1

Arguments

from

(String) From Symbol of the pair.

to

(String) To Symbol of the pair.

date

(Date) Date of the requested open/close.

Value

A tibble of financial data.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(polygon)
get_open_close_crypto(
from = "BTC",
to = "USD",
date = Sys.Date() - 1
)

## End(Not run)

eokodie/polygon documentation built on June 18, 2021, 10:19 p.m.