aboutsummaryrefslogtreecommitdiffstats
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/serenitasdb.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/serenitasdb.R b/R/serenitasdb.R
index 5cde8d41..78578970 100644
--- a/R/serenitasdb.R
+++ b/R/serenitasdb.R
@@ -119,7 +119,7 @@ get.tranchequotes <- function(indexname, tenor='5yr', date=Sys.Date()){
}
}
if(!flag){
- stop("no quotes for that day")
+ return(NULL)
}
return( r )
}