diff options
| -rw-r--r-- | R/script_calibrate_tranches.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/script_calibrate_tranches.R b/R/script_calibrate_tranches.R index 8aa8e196..2fb6a992 100644 --- a/R/script_calibrate_tranches.R +++ b/R/script_calibrate_tranches.R @@ -21,7 +21,7 @@ source(file.path(code.dir, "code", "R", "mlpdb.R")) if(length(args) >= 1){
tradedate <- as.Date(args[1])
}else{
- tradedate <- Sys.Date()
+ tradedate <- addBusDay(Sys.Date(), -1)
}
index <- load.index("hy21", date=tradedate)
|
