aboutsummaryrefslogtreecommitdiffstats
path: root/R/load_cf.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/load_cf.R')
-rw-r--r--R/load_cf.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/load_cf.R b/R/load_cf.R
index 870ec999..7d187de9 100644
--- a/R/load_cf.R
+++ b/R/load_cf.R
@@ -106,7 +106,7 @@ getdealcf <- function(dealnames, zipfiles, tradedate=Sys.Date()){
T=T, key="Date")
cfdata[[dealname]] <- list(mv = dealdata$mv, currbal = dealdata$"Curr Collat Bal")
- if(is.na(dealdata$"Reinv End Date")||!config$reinvflag){
+ if(is.na(dealdata$reinv_end_date)||!config$reinvflag){
tranches <- "COLLAT"
}else{
tranches <- c("COLLAT_INITIAL", "COLLAT_REINVEST")