FAILURE MAP
← Case archive

FA-61732 / Options payoff and settlement / Member archive

FX option premium quote conversion: base-percentage premiums are converted to term by dividing by spot · case 02

Term equivalents of base-percent premiums are wrong for any spot other than one.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs quote, quote type, base notional, spot and pip size. pips: term premium = quote*pip*notional, base = term/spot. pct_base: base = quote/100*notional, term = base*spot. pct_term: term = quote/100*notional*spot, base = term/spot. Exact fractions; return [term, base] rounded to 2 as floats.

Why this case matters

Option expiry, exercise and settlement engines move cash and shares; a wrong branch misstates obligations.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression pct base term conversion 1[353996.22, 450000.0][572040.0, 450000.0]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗