yc_superset | R Documentation |
Creates superset with yield curves and future contracts indicating the terms that match with futures contracts maturities.
yc_superset(yc, fut)
yc_usd_superset(yc, fut)
yc_ipca_superset(yc, fut)
yc |
yield curve dataset |
fut |
futures dataset |
A dataframe with yield curve flagged with futures maturities.
## Not run:
fut <- futures_get(Sys.Date() - 1)
yc <- yc_get(Sys.Date() - 1)
yc_superset(yc, fut)
yc_usd <- yc_usd_get(Sys.Date() - 1)
yc_usd_superset(yc_usd, fut)
yc_ipca <- yc_ipca_get(Sys.Date() - 1)
yc_ipca_superset(yc_ipca, fut)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.