diff options
Diffstat (limited to 'R/build_scenarios.R')
| -rw-r--r-- | R/build_scenarios.R | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/R/build_scenarios.R b/R/build_scenarios.R index d0dcd8bc..c1d7d5fa 100644 --- a/R/build_scenarios.R +++ b/R/build_scenarios.R @@ -35,13 +35,10 @@ if(length(args) >=2){ unlink(file.path(root.dir, "scripts", "deals_to_price.txt"))
}
-source(file.path(root.dir, "code", "R", "intex_deal_functions.R"))
+source(file.path(root.dir, "code", "R", "intex_deal_functions.R"), chdir=TRUE)
source(file.path(root.dir, "code", "R", "etdb.R"))
-source(file.path(root.dir, "code", "R", "cds_functions_generic.R"))
-source(file.path(root.dir, "code", "R", "cds_utils.R"))
source(file.path(root.dir, "code", "R", "yieldcurve.R"))
source(file.path(root.dir, "code", "R", "mlpdb.R"))
-hy21 <- load.index("hy21")
calibration.date <- addBusDay(tradedate, -1)
settledate <- addBusDay(tradedate, 3)
|
