md_bond {pedquant} | R Documentation |
query bond data
Description
md_bond
query bond market data from FRED and ChinaBond.
Usage
md_bond(symbol = NULL, type = "history", date_range = "3y",
from = NULL, to = Sys.Date(), print_step = 1L, ...)
Arguments
symbol |
bond symbols. Default is NULL. |
type |
the data type. Default is history. |
date_range |
date range. Available value includes '1m'-'11m', 'ytd', 'max' and '1y'-'ny'. Default is 3y. |
from |
the start date. Default is NULL. If it is NULL, then calculate using date_range and end date. |
to |
the end date. Default is the current date. |
print_step |
a non-negative integer, which will print symbol name by each print_step iteration. Default is 1L. |
... |
Additional parameters. |
[Package pedquant version 0.2.4 Index]