A composite trade's legs 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 catalogue lists composite_instrument as the only component of the composite family, and its model declares every column :economic: false. The family's economics sit in composite_leg, which no reader in the digest shape reads.
Declare composite_leg economic, give it a reader by trade id, and list it under composite_instrument in * Digest/Instrument components. Then tighten the catalogue loader so that a listed component with no :economic: true column is refused.
2. Why
A composite trade's digest is constant, so an amendment to any of its legs does not move the external version. The loader accepts the listing today because refusing it would change what the digest covers.
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
- Hold money exactly and move the external version on economic change — the story whose digest this widens.