Lean
$LEAN_TAG$
|
Provides an implementation of IOptionStrategyMatchObjectiveFunction that evaluates the number of unmatched positions, in number of contracts, giving precedence to solutions that have fewer unmatched contracts. More...
Public Member Functions | |
decimal | ComputeScore (OptionPositionCollection input, OptionStrategyMatch match, OptionPositionCollection unmatched) |
Computes the delta in matched vs unmatched positions, which gives precedence to solutions that match more contracts. More... | |
Provides an implementation of IOptionStrategyMatchObjectiveFunction that evaluates the number of unmatched positions, in number of contracts, giving precedence to solutions that have fewer unmatched contracts.
Definition at line 24 of file UnmatchedPositionCountOptionStrategyMatchObjectiveFunction.cs.
decimal QuantConnect.Securities.Option.StrategyMatcher.UnmatchedPositionCountOptionStrategyMatchObjectiveFunction.ComputeScore | ( | OptionPositionCollection | input, |
OptionStrategyMatch | match, | ||
OptionPositionCollection | unmatched | ||
) |
Computes the delta in matched vs unmatched positions, which gives precedence to solutions that match more contracts.
Implements QuantConnect.Securities.Option.StrategyMatcher.IOptionStrategyMatchObjectiveFunction.
Definition at line 29 of file UnmatchedPositionCountOptionStrategyMatchObjectiveFunction.cs.