get_info_prices: Get info (non-tradeable) prices for list of instruments

View source: R/wrappers.R

get_info_pricesR Documentation

Get info (non-tradeable) prices for list of instruments

Description

Get info (non-tradeable) prices for list of instruments

Usage

get_info_prices(
  token,
  live = FALSE,
  uics,
  asset_type = "Stock",
  amount = 10000,
  ...
)

Arguments

token

either a character or a token2.0 reference class (RC) object as returned by httr::oauth2.0_token(). Sim environment uses character, (a '24 hour token'); live environment a token object.

live

boolean, TRUE for live environment, i.e. real money. Defaults to FALSE, i.e. simulation environment.

uics

character, comma separated list of identifiers

asset_type

character, type of asset, e.g. "Stock" or "StockOption"

amount

numeric, defaults to 10000

...

parameters passed on to response_df()

Value

tibble with instruments (e.g. stocks)


lassehjorthmadsen/sherwood documentation built on Sept. 6, 2022, 3:47 p.m.