FAILURE MAP
← Case archive

FA-61727 / Options payoff and settlement / Member archive

FX option premium quote conversion: pip premiums are converted to base by multiplying by spot · case 02

Base-currency equivalents of pip premiums are spot-squared off.

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 pip base conversion 1[312.5, 397.25][312.5, 245.83]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 ↗