Function state_hash
pub fn state_hash(state: &PortfolioState) -> StringExpand description
Produce a deterministic hash of the portfolio state.
Format: "blake3:<hex>". Determinism is guaranteed by BTreeMap sorted
keys, rust_decimal string serialization, and deterministic serde_json.