WeightedIndexSecurity

StockSharp.Algo

La cesta de instrumentos, basada en pesas Pesos.

Hereda de: IndexSecurity

Constructores

WeightedIndexSecurity
public WeightedIndexSecurity()
weightedIndexSecurity = WeightedIndexSecurity()

Inicia una nueva instancia de la WeightedIndexSecurity.

Propiedades

InnerSecurityIds
public override IEnumerable<SecurityId> InnerSecurityIds { get; }
value = weightedIndexSecurity.InnerSecurityIds

Instrumentos, de los cuales se crea esta cesta.

Weights
public CachedSynchronizedDictionary<SecurityId, decimal> Weights { get; }
value = weightedIndexSecurity.Weights

Instrumentos y sus coeficientes de ponderación en la cesta.

Métodos

Clone
public override Security Clone()
result = weightedIndexSecurity.Clone()

Crea una copia profunda de un DataSeries

Devuelve: Copy.

FromSerializedString
protected override void FromSerializedString(string text)
weightedIndexSecurity.FromSerializedString(text)

Estado de los instrumentos financieros de carga de .

text
Valor, recibido de ToSerializedString.
ToSerializedString
protected override string ToSerializedString()
result = weightedIndexSecurity.ToSerializedString()

Guardar el estado de los instrumentos financieros en cadena.

Devuelve: String.

ToString
public override string ToString()
result = weightedIndexSecurity.ToString()

Convertirse en una representación de línea.

Devuelve: Rendimiento de cuerda.