Learn R Programming

rtsdata (version 0.1.4)

ds.functionality.default: Default Functionality

Description

Default functionality configuration

Usage

ds.functionality.default(
  check.update = TRUE,
  update.required.fn = update.required
)

Value

list with options

Arguments

check.update

flag to check for updates, defaults to TRUE

update.required.fn

function to check if update is required given stored historical data, defaults to update.required. The update.required function takes last update stamp, current date/time, holiday calendar name.

Examples

Run this code
 # disable check for updates for the 'yahoo' data source
 register.data.source(src = 'yahoo', functionality = ds.functionality.default(FALSE))

Run the code above in your browser using DataLab