Lean  $LEAN_TAG$
QuantConnect.Algorithm.Framework.Portfolio.AlphaStreamsPortfolioConstructionModel Class Reference

Base alpha streams portfolio construction model More...

Inheritance diagram for QuantConnect.Algorithm.Framework.Portfolio.AlphaStreamsPortfolioConstructionModel:
[legend]

Public Member Functions

virtual decimal GetAlphaWeight (string alphaId)
 Get's the weight for an alpha More...
 
virtual void OnSecuritiesChanged (QCAlgorithm algorithm, SecurityChanges changes)
 Event fired each time the we add/remove securities from the data feed More...
 
virtual IEnumerable< IPortfolioTargetCreateTargets (QCAlgorithm algorithm, Insight[] insights)
 Create portfolio targets from the specified insights More...
 

Detailed Description

Base alpha streams portfolio construction model

Definition at line 25 of file AlphaStreamsPortfolioConstructionModel.cs.

Member Function Documentation

◆ GetAlphaWeight()

virtual decimal QuantConnect.Algorithm.Framework.Portfolio.AlphaStreamsPortfolioConstructionModel.GetAlphaWeight ( string  alphaId)
virtual

Get's the weight for an alpha

Parameters
alphaIdThe algorithm instance that experienced the change in securities
Returns
The alphas weight

Definition at line 32 of file AlphaStreamsPortfolioConstructionModel.cs.

◆ OnSecuritiesChanged()

virtual void QuantConnect.Algorithm.Framework.Portfolio.AlphaStreamsPortfolioConstructionModel.OnSecuritiesChanged ( QCAlgorithm  algorithm,
SecurityChanges  changes 
)
virtual

Event fired each time the we add/remove securities from the data feed

Parameters
algorithmThe algorithm instance that experienced the change in securities
changesThe security additions and removals from the algorithm

Implements QuantConnect.Algorithm.Framework.INotifiedSecurityChanges.

Definition at line 42 of file AlphaStreamsPortfolioConstructionModel.cs.

◆ CreateTargets()

virtual IEnumerable<IPortfolioTarget> QuantConnect.Algorithm.Framework.Portfolio.AlphaStreamsPortfolioConstructionModel.CreateTargets ( QCAlgorithm  algorithm,
Insight[]  insights 
)
virtual

Create portfolio targets from the specified insights

Parameters
algorithmThe algorithm instance
insightsThe insights to create portfolio targets from
Returns
An enumerable of portfolio targets to be sent to the execution model

Implements QuantConnect.Algorithm.Framework.Portfolio.IPortfolioConstructionModel.

Definition at line 53 of file AlphaStreamsPortfolioConstructionModel.cs.


The documentation for this class was generated from the following file: