Skip to main content
Version: v5

swap_valuation

Value a disseminated swap on its own printed terms against the rate curve.

Examples​

from openbb import obb
obb.cftc.swap_valuation(provider='cftc')
# Value a specific disseminated print against today's curve.
obb.cftc.swap_valuation(currency='USD', dissemination_identifier='4339565190000000401', provider='cftc')
# Value the largest CNY print off its fixed-float IRS curve.
obb.cftc.swap_valuation(currency='CNY', provider='cftc')

Parameters​


Returns​

results: CftcSwapValuation

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​