ref_symbol_search: Reference Data Accessor for Symbol Search from 'twelvedata'

View source: R/ref_symbol_search.R

ref_symbol_searchR Documentation

Description

Retrieve Reference Data for Symbol Search from ‘twelvedata’

Usage

ref_symbol_search(sym, as = c("data.frame", "raw"), output_size = 30, apikey)

Arguments

sym

(required, character) Symbol to search for.

as

(optional, character) A selector for the desired output format: one of “data.frame” (the default) or or “raw”.

output_size

(required, character) Defaults to 30. Max is 120.

apikey

(optional character) An API key override, if missing a value cached from package startup is used. The startup looks for either a file in the per-package config directory provided by tools::R_user_dir (for R 4.0.0 or later), or the TWELVEDATA_API_KEY variable.

Details

ref_symbol_search.

Value

The requested data is returned as a data.frame object.

See Also

https://twelvedata.com/docs


eddelbuettel/td documentation built on Nov. 20, 2024, 3:43 p.m.