diff options
Diffstat (limited to 'R')
| -rw-r--r-- | R/calibrate_tranches_MF.R | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/R/calibrate_tranches_MF.R b/R/calibrate_tranches_MF.R index 4acd8896..7408b542 100644 --- a/R/calibrate_tranches_MF.R +++ b/R/calibrate_tranches_MF.R @@ -17,11 +17,7 @@ source("creditIndex.R") source("tranche_functions.R") ##figure out the tradedate -tradedate <- if(length(args) >= 1) { - as.Date(args[1]) - } else { - addBusDay(Sys.Date(), -1) - } +tradedate <- if(length(args) >= 1) as.Date(args[1]) else addBusDay(Sys.Date(), -1) exportYC(tradedate) ## calibrate HY29 |
