Class ExpressionIndexSecurity
- Namespace
- StockSharp.Algo.Expressions
- Assembly
- StockSharp.Algo.dll
The index, built of combination of several instruments through mathematical formula Expression.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Index", Description = "IndexSecurity")]
[BasketCode("EI")]
public class ExpressionIndexSecurity : IndexSecurity, ICloneable<Security>, ICloneable, INotifyPropertyChanged- Inheritance
- 
      
      
      
      
      
      ExpressionIndexSecurity
- Implements
- Inherited Members
- Extension Methods
Constructors
ExpressionIndexSecurity()
Initializes a new instance of the ExpressionIndexSecurity.
public ExpressionIndexSecurity()Properties
Expression
The mathematical formula of index.
[Browsable(false)]
public string Expression { get; set; }Property Value
Formula
Compiled mathematical formula.
public ExpressionFormula<decimal> Formula { get; }Property Value
InnerSecurityIds
Instruments, from which this basket is created.
public override IEnumerable<SecurityId> InnerSecurityIds { get; }Property Value
Methods
Clone()
Create a copy of Security.
public override Security Clone()Returns
- Security
- Copy. 
FromSerializedString(string)
Load security state from text.
protected override void FromSerializedString(string text)Parameters
- textstring
- Value, received from ToSerializedString(). 
ToSerializedString()
Save security state to string.
protected override string ToSerializedString()Returns
- string
- String. 
ToString()
public override string ToString()