Skip to main content

state_hash

Function state_hash 

pub fn state_hash(state: &PortfolioState) -> String
Expand 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.