pull_historical_price: Pull stock prices via pselookup API

Description Usage Arguments Value

View source: R/pull_historical_price.R

Description

A function to pull single stock prices listed in the Philippine Stock Exchange via pselookup API

Usage

1
2
3
4
5
6
pull_historical_price(
  ticker = "x",
  type = c("open", "high", "low", "close"),
  start_date = "yyyy-mm-dd",
  end_date = "yyyy-mm-dd"
)

Arguments

ticker

stock ticker to pull

type

type of price to pull

start_date

start date of data pull

end_date

end date of data pull

pull_historical_price

function to pull stock prices

Value

A data frame of stock prices


CoconutMartin/PSEIpullr documentation built on Jan. 19, 2021, 6:21 p.m.