Skip to main content

Module spec

Module spec 

Expand description

A curve recipe stated as data.

A RecipeSpec is what a recipe source — a desk’s configuration, a connector — hands over in place of builder calls. It is converted by applying the same builder operations in the same order hand-built code applies, so a spec is refused exactly where the builder chain would be, and a recipe converted to a spec and back is the recipe it came from.

Structs§

RecipeSpec
A curve recipe stated as data: the collateral key it builds under, the currency, the discount segments in order, a source per projection index, the windows, and an optional triangulation hub.
WindowSpec
A window the recipe fixes, as data.

Enums§

ProjectionSpec
How a projection index is sourced, as data.
RecipeSpecError
Why a RecipeSpec could not become a recipe — always naming its key.