You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The surface stores a flat r and per-slice forwards independently, and maturity is a bare float. Nothing enforces that F(T), D(T) and T come from one coherent convention, and T=0.5 does not say ACT/365F vs business/252. This is deeper than issue #13 (accepting curves): the invariant is that every price produced by a surface is consistent with one internally coherent discounting/forward/day-count convention.
Proposal
MarketContext(discount_factor, forward, spot, dividend, day_count, calendar, valuation_time) as the single source of numeraire truth a surface is built against
Date-aware API alongside year-fraction floats: expiry timestamps + day-count convention resolve to T internally
Context
The surface stores a flat r and per-slice forwards independently, and maturity is a bare float. Nothing enforces that F(T), D(T) and T come from one coherent convention, and T=0.5 does not say ACT/365F vs business/252. This is deeper than issue #13 (accepting curves): the invariant is that every price produced by a surface is consistent with one internally coherent discounting/forward/day-count convention.
Proposal
MarketContext(discount_factor, forward, spot, dividend, day_count, calendar, valuation_time)as the single source of numeraire truth a surface is built againstAcceptance criteria