24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
id: CORE-002B
|
|
title: Hedge and Strategy Runtime Quote Unit Rollout
|
|
status: backlog
|
|
priority: P0
|
|
effort: M
|
|
depends_on:
|
|
- CORE-002A
|
|
- CORE-001B
|
|
tags:
|
|
- core
|
|
- units
|
|
- hedge
|
|
- pricing
|
|
summary: Apply explicit instrument-aware quote-unit conversions to the next visible ounce-based hedge/runtime paths so they no longer assume ounce-native spot prices.
|
|
acceptance_criteria:
|
|
- Hedge/runtime displays that consume live or configured GLD spots use explicit share->ozt conversions where needed.
|
|
- Visible strategy/hedge labels distinguish converted collateral spot from raw share quotes when relevant.
|
|
- Unsupported or missing quote-unit metadata fails closed rather than silently applying raw share prices as ounce prices.
|
|
- Tests cover the changed hedge/runtime math and browser-visible route behavior.
|
|
technical_notes:
|
|
- Likely file targets include `app/pages/hedge.py`, `app/pages/common.py`, and any service/helpers feeding hedge summary/runtime spot values.
|
|
- Reuse the new instrument metadata seam rather than introducing new ad hoc scale factors.
|
|
- Keep backtesting/event share-based paths compatible while tightening visible ounce-based paths.
|