mutualfund_func: MF_getTF

Description Usage Arguments Examples

Description

MF_getTF get mutual funds in RebDates.

MF_TF_reshape reshape a TF object.

MF_CT_nonalphafund export const non-alpha fundIDs.

MF_getAssetPort

MF_getTFSW get TF with stockID and wgt

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
MF_getTF(RebDates, fundtype = c("equity", "aggr_allo", "index",
  "indexenhance"), rm = c("namewithC", "initperiod"), N = 90)

MF_TF_reshape(TF, type = c("rp_IDJ", "rm_NameC", "rm_quantfund"))

MF_CT_nonalphafund(mfadd = NULL, mfrm = NULL)

MF_getAssetPort(fundID, rptDate, datasrc = "jy", TF)

MF_getTFSW(TF, fill = TRUE)

Arguments

fundtype

equity means quity fund,aggr_allo means aggressive allocation fund.

type

rp_IDJ means replace fundID's last four characters which is 'J.OF', rm_NameC means remove fundName last character which is C, rm_quantfund means remove quantative funds.

fill

default value is TRUE,if TRUE then fill quarter data with nearest half year report.

Examples

1
2
3
4
5
6
RebDates <- getRebDates(as.Date('2010-01-01'),as.Date('2018-06-30'),'quarter')
TF <- MF_getTF(RebDates) #get all quity funds
TF <- MF_getTF(RebDates,fundtype='aggr_allo') #get all aggressive allocation funds
################~~MF_getTFSW demo~~###################################
TFSW <- MF_getTFSW(TF)
TFSW <- MF_getTFSW(TF,fill=FALSE)

raphael210/QDataGet documentation built on May 26, 2019, 11:02 p.m.