WeightedPortfolio
StockSharp.Algo
Portfolios basket based on the weights Weights.
Inherits: BasketPortfolio
Constructors
WeightedPortfolio
public WeightedPortfolio(IConnector connector)
weightedPortfolio = WeightedPortfolio(connector)
Initializes a new instance of the WeightedPortfolio.
- connector
- The connection of interaction with trade systems.
Properties
InnerPortfolios
public override IEnumerable<Portfolio> InnerPortfolios { get; }
value = weightedPortfolio.InnerPortfolios
Portfolios from which this basket is created.
InnerPositions
public override IEnumerable<BasketPosition> InnerPositions { get; }
value = weightedPortfolio.InnerPositions
Positions from which this basket is created.
Weights
public SynchronizedDictionary<Portfolio, decimal> Weights { get; }
value = weightedPortfolio.Weights
Instruments and their weighting coefficients in the basket.