Class WeightedIndexSecurity
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The instruments basket, based on weigh-scales Weights.
[BasketCode("WI")]
public class WeightedIndexSecurity : IndexSecurity, INotifyPropertyChanged
- Inheritance
-
WeightedIndexSecurity
- Implements
- Inherited Members
- Extension Methods
Constructors
WeightedIndexSecurity()
Initializes a new instance of the WeightedIndexSecurity.
public WeightedIndexSecurity()
Properties
InnerSecurityIds
Instruments, from which this basket is created.
public override IEnumerable<SecurityId> InnerSecurityIds { get; }
Property Value
Weights
Instruments and their weighting coefficients in the basket.
public CachedSynchronizedDictionary<SecurityId, decimal> Weights { get; }
Property Value
- CachedSynchronizedDictionary<SecurityId, decimal>
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
text
stringValue, received from ToSerializedString().
ToSerializedString()
Save security state to string.
protected override string ToSerializedString()
Returns
- string
String.
ToString()
public override string ToString()