get_market_equities: Get market data from FMP cloud

Description Usage Arguments Value Examples

View source: R/get_markt_equities.R

Description

Get market data from FMP cloud API.

Usage

1
2
3
4
5
6
7
8
get_market_equities(
  symbol,
  multiply = 1,
  time = "hour",
  from = as.character(Sys.Date() - 7),
  to = as.character(Sys.Date()),
  api_key
)

Arguments

symbol

Stock symbol

multiply

Multiply time yo get final frequency

time

Time frequency

from

Start date, character

to

End date, character

api_key

FMP cloud API key

Value

Data table of OHLCV prices

Examples

1
get_market_equities("AAPL", api_key = Sys.getenv("APIKEY"))

MislavSag/mrisk documentation built on Dec. 17, 2021, 4:18 a.m.