The option's exercise prices are not in the economic digest

Table of Contents

This page is a capture in the inbox bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.

1. What

The digest folds an instrument's option, premium, exercise fee and payment date rows. It does not read the option's exercise prices, although read_option_exercise_prices_by_trade_ids exists and the table is economic.

Add instrument_option_exercise_price to the * Digest/Shared components table with that reader, and add a digest test that changes an exercise price and expects the digest to move.

2. Why

A change to an exercise price is a change the customer agreed to, so it must move the external version. That is the failure the two-version rule exists to prevent.

Listing the table changes what the digest covers, so every stored digest changes once. Land it before anyone relies on a stored digest.

3. References

  • Declare the economic fields — the task whose shape declaration made the omission visible.
  • ores.trading.trade_type_catalogue.org, section * Digest.

4. See also

Emacs 29.3 (Org mode 9.6.15)