lcdb_regtables: lcdb_regtables

Description Usage Arguments Examples

Description

build and update local database's regression result tables

Usage

1
2
3
lcdb.build.RegTables(begT, endT, FactorLists)

lcdb.update.RegTables(begT, endT, FactorLists)

Arguments

begT

is begin date

endT

is end date

FactorLists

see example in buildFactorLists.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
begT <- as.Date('2005-01-04')
endT <- as.Date('2009-12-31')
FactorLists <- buildFactorLists(
  buildFactorList(factorFun="gf.SIZE"),
  buildFactorList(factorFun="gf.GROWTH"),
  buildFactorList(factorFun="gf.TRADING"),
  buildFactorList(factorFun="gf.EARNINGYIELD"),
  buildFactorList(factorFun="gf.VALUE"),
  buildFactorList(factorFun="gf.OTHER"))
lcdb.build.RegTables(begT,endT,FactorLists)
begT <- as.Date('2010-01-04')
endT <- as.Date('2014-12-31')
lcdb.update.RegTables(begT,endT,FactorLists)

raphael210/RFactorModel documentation built on May 26, 2019, 11:06 p.m.