get_instruments: Get stock names and identifiers

View source: R/wrappers.R

get_instrumentsR Documentation

Get stock names and identifiers

Description

Get stock names and identifiers

Usage

get_instruments(
  token,
  live = FALSE,
  exchange_id = "CSE",
  asset_type = "Stock",
  ...
)

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.

exchange_id

character, the Exchange to search, e.g. "CSE" for Copenhagen Stock Exchange

asset_type

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

...

parameters passed on to response_df()

Value

tibble


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