simfinR_get_single_price_for_class: Get price data by share class for single company and share...

Description Usage Arguments Value Examples

View source: R/get_price_data_share_classes.R

Description

Helper function of simfinR_get_single_price_by_class. Will fetch data for a single company and save results in cache.

Usage

1
2
3
4
5
6
simfinR_get_single_price_for_class(
  id_sim,
  id_share_class,
  api_key,
  cache_folder = "simfin_cache"
)

Arguments

id_sim

The simfin id

id_share_class

The simfin share class id from simfinR_get_share_classes

api_key

Your api key

cache_folder

Cache folder to save files

Value

A dataframe with price data for the share class

Examples

1
2
3
4
## Not run: 
df <- simfinR_get_single_shares_outstanding_for_class(59265, 'YOURAPIKEY')

## End(Not run)

msperlin/simfinR documentation built on June 19, 2021, 10:21 p.m.