fun_statistics: Fundamental Data Accessor for Main Statistics from...

View source: R/fun_statistics.R

fun_statisticsR Documentation

Fundamental Data Accessor for Main Statistics from ‘twelvedata’ This API endpoint is available starting with the Pro plan.

Description

Retrieve Main Fundamental Data Statistics Including Valuation Metrics and Financials from ‘twelvedata’.

Usage

fun_statistics(sym, exchange = "", country = "", apikey)

Arguments

sym

(character) A (single or vector) symbol for Indices. Defaults to unset.

exchange

(optional, character) Exchange. Defaults to unset.

country

(optional, character) An alpha code or country name. Defaults to unset.

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

fun_statistics.

Value

The requested data is returned as a list object.

See Also

https://twelvedata.com/docs


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