|
Lean
$LEAN_TAG$
|
Provides an implementation of IOptionStrategyLegPredicateReferenceValue that represents a constant value. More...
Public Member Functions | |
| ConstantOptionStrategyLegPredicateReferenceValue (T value, PredicateTargetValue target) | |
| Initializes a new instance of the ConstantOptionStrategyLegPredicateReferenceValue<T> class More... | |
| object | Resolve (IReadOnlyList< OptionPosition > legs) |
| Returns the constant value provided at initialization More... | |
Properties | |
| PredicateTargetValue | Target [get] |
| Gets the target of this value More... | |
Properties inherited from QuantConnect.Securities.Option.StrategyMatcher.IOptionStrategyLegPredicateReferenceValue | |
| PredicateTargetValue | Target [get] |
| Gets the target of this value More... | |
Provides an implementation of IOptionStrategyLegPredicateReferenceValue that represents a constant value.
Definition at line 24 of file ConstantOptionStrategyLegPredicateReferenceValue.cs.
| QuantConnect.Securities.Option.StrategyMatcher.ConstantOptionStrategyLegPredicateReferenceValue< T >.ConstantOptionStrategyLegPredicateReferenceValue | ( | T | value, |
| PredicateTargetValue | target | ||
| ) |
Initializes a new instance of the ConstantOptionStrategyLegPredicateReferenceValue<T> class
| value | The constant reference value |
| target | The value target in relation to the OptionPosition |
Definition at line 38 of file ConstantOptionStrategyLegPredicateReferenceValue.cs.
| object QuantConnect.Securities.Option.StrategyMatcher.ConstantOptionStrategyLegPredicateReferenceValue< T >.Resolve | ( | IReadOnlyList< OptionPosition > | legs | ) |
Returns the constant value provided at initialization
Implements QuantConnect.Securities.Option.StrategyMatcher.IOptionStrategyLegPredicateReferenceValue.
Definition at line 47 of file ConstantOptionStrategyLegPredicateReferenceValue.cs.
|
get |
Gets the target of this value
Definition at line 31 of file ConstantOptionStrategyLegPredicateReferenceValue.cs.