Learn R Programming

simfinR (version 0.2.3)

simfinR_get_price_data: Get price data for a group of companies

Description

This function will use the simfin api to grab adjusted prices of stocks.

Usage

simfinR_get_price_data(id_companies, api_key, cache_folder = "simfin_cache")

Arguments

id_companies

A vector of ids of companies

api_key

Your api key

cache_folder

The cache folder to save files

Value

A dataframe with price data

Examples

Run this code
# NOT RUN {
df_prices <- simfinR_get_price_data(59265, 'YOURAPIKEY')
# }

Run the code above in your browser using DataLab