Skip to main content

YIELD_CURVE

Get yield curve data by country and date.

Syntax

=OBB.FIXEDINCOME.GOVERNMENT.YIELD_CURVE([date],[use_cache],[country])

Examples

=OBB.FIXEDINCOME.GOVERNMENT.YIELD_CURVE()
=OBB.FIXEDINCOME.GOVERNMENT.YIELD_CURVE("2023-05-01,2024-05-01")
=OBB.FIXEDINCOME.GOVERNMENT.YIELD_CURVE("2023-05-01",,"united_kingdom")

Parameters

NameTypeDescriptionRequired
dateTextA specific date to get data for. By default is the current data. Multiple comma separated items allowed.False
use_cacheBooleanIf true, cache the request for four hours.False
countryTextThe country to get data. New Zealand, Mexico, Singapore, and Thailand have only monthly data. The nearest date to the requested one will be used. Options: australia, canada, china, hong_kong, india, japan, mexico, new_zealand, russia, saudi_arabia, singapore, south_africa, south_korea, taiwan, thailand, united_kingdom, united_states.False

Data

NameDescription
dateThe date of the data.
maturityMaturity length of the security.
rateThe yield as a normalized percent (0.05 is 5%)