settings: QuantTools settings

Description Usage Arguments Details Examples

Description

QuantTools settings

Usage

1
2
3

Arguments

settings

named list of settings values or settings names vector

Details

Controls package settings.

List of available settings:

finam_storage Finam local storage path
iqfeed_storage IQFeed local storage path
moex_storage MOEX local storage path
moex_data_url MOEX data url
finam_storage_from Finam storage first date
iqfeed_storage_from IQFeed storage first date
moex_storage_from MOEX storage first date
finam_symbols Finam symbols to store
iqfeed_symbols IQFeed symbols to store
iqfeed_port IQFeed historical port number
iqfeed_host IQFeed host
iqfeed_timeout IQFeed connection timeout
iqfeed_buffer IQFeed number of bytes buffer
iqfeed_verbose IQFeed verbose internals?
temp_directory temporary directory location

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# list all settings
QuantTools_settings()

# set defaults
QuantTools_settings_defaults()

# change a setting
QuantTools_settings( list( iqfeed_verbose = TRUE ) )

# To make R remember your settings please add the following code
# to .Rprofile file stored in your home directory path.expand('~'):

suppressMessages( library( QuantTools ) )

QuantTools_settings( settings = list(
  iqfeed_storage = paste( path.expand('~') , 'Market Data', 'iqfeed', sep = '/' ),
  iqfeed_symbols = c( 'AAPL', '@ES#' ),
  iqfeed_storage_from = format( Sys.Date() - 3 )
) )

QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.