stock: Stock prices

Description Usage Arguments Value Examples

View source: R/stock.R

Description

Scraps Le Boursier's and gets the historical prices for the specified companies.

Usage

1
2
3

Arguments

x, ...

Company name as returned by the get_today() function

Value

Returns a data.frame containing all the historical data for the specified stock.

If the plural variant is used it'll add a symbol column that'll contain the name of the company.

Examples

1
2
3
4
head(stock("Wafa Assur"), 20)
head(stock(), 20) # same as runing stock("MASI")
head(stock("MADEX"), 20)
head(stocks("Masi", "MADEX"), 20)

bcr documentation built on Dec. 6, 2020, 1:06 a.m.

Related to stock in bcr...