get5: Get Stock Data at the 5 minute level localized to current...

get5R Documentation

Get Stock Data at the 5 minute level localized to current time zone

Description

Summary statistics for the movements on the 5 minute level

Usage

get5(ticker, truncated = TRUE)

Arguments

ticker

The ticker symbol as a string

truncated

Option to limit output to hours closer to market open hours. Default is true.

Value

A data frame with daily data such as the high, low, open, close, and associated returns. Available in the global environment. Default is truncated to show data more relevant to active trading hours. Adjusted to local time zone.

Examples

## Not run: 
get5("WTI")
get5("SPY", truncated = FALSE)

## End(Not run)

avfintools documentation built on Oct. 6, 2022, 5:14 p.m.