MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / fix_all

Function fix_all

src/instruments/mod.rs:138–175  ·  view source on GitHub ↗

Utility method to fix all instruments in a vector, returning them as a weighted vector. Currently we do not attempt to net instruments of the same type, though we could do so. If there are no changes to any instruments, we return None.

(instruments: &[(f64, RcInstrument)], fixing_table: &FixingTable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

fixMethod · 0.85
update_instrumentsMethod · 0.85

Calls 2

fixMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected