Expand description
Reconciliation calculation functions for live trading.
Structs§
- Fill
Snapshot - Immutable snapshot of fill data for position simulation.
- Venue
Position Snapshot - Represents a position snapshot from the venue.
Enums§
- Fill
Adjustment Result - Result of the fill adjustment process.
Functions§
- adjust_
fills_ for_ partial_ window - Adjust fills for partial reconciliation window to handle incomplete position lifecycles.
- calculate_
reconciliation_ price - Calculate the price needed for a reconciliation order to achieve target position.
- check_
position_ match - Check if simulated position matches venue position within tolerance.
- detect_
zero_ crossings - Detect zero-crossing timestamps in a sequence of fills.
- simulate_
position - Simulate position from chronologically ordered fills using netting logic.