Lean
$LEAN_TAG$
|
Provides methods for apply the results of universe selection to an algorithm More...
Public Member Functions | |
UniverseSelection (IAlgorithm algorithm, ISecurityService securityService, IDataPermissionManager dataPermissionManager, IDataProvider dataProvider, Resolution internalConfigResolution=Resolution.Minute) | |
Initializes a new instance of the UniverseSelection class More... | |
void | SetDataManager (IDataFeedSubscriptionManager dataManager) |
Sets the data manager More... | |
SecurityChanges | ApplyUniverseSelection (Universe universe, DateTime dateTimeUtc, BaseDataCollection universeData) |
Applies universe selection the the data feed and algorithm More... | |
bool | AddPendingInternalDataFeeds (DateTime utcStart) |
Will add any pending internal currency subscriptions More... | |
void | EnsureCurrencyDataFeeds (SecurityChanges securityChanges) |
Checks the current subscriptions and adds necessary currency pair feeds to provide real time conversion data More... | |
SecurityChanges | HandleDelisting (BaseData data, bool isInternalFeed) |
Handles the delisting process of the given data symbol from the algorithm securities More... | |
Provides methods for apply the results of universe selection to an algorithm
Definition at line 33 of file UniverseSelection.cs.
QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.UniverseSelection | ( | IAlgorithm | algorithm, |
ISecurityService | securityService, | ||
IDataPermissionManager | dataPermissionManager, | ||
IDataProvider | dataProvider, | ||
Resolution | internalConfigResolution = Resolution.Minute |
||
) |
Initializes a new instance of the UniverseSelection class
algorithm | The algorithm to add securities to |
securityService | The security service |
dataPermissionManager | The data permissions manager |
dataProvider | The data provider to use |
internalConfigResolution | The resolution to use for internal configuration |
Definition at line 54 of file UniverseSelection.cs.
void QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.SetDataManager | ( | IDataFeedSubscriptionManager | dataManager | ) |
Sets the data manager
Definition at line 77 of file UniverseSelection.cs.
SecurityChanges QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.ApplyUniverseSelection | ( | Universe | universe, |
DateTime | dateTimeUtc, | ||
BaseDataCollection | universeData | ||
) |
Applies universe selection the the data feed and algorithm
universe | The universe to perform selection on |
dateTimeUtc | The current date time in utc |
universeData | The data provided to perform selection with |
Definition at line 101 of file UniverseSelection.cs.
bool QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.AddPendingInternalDataFeeds | ( | DateTime | utcStart | ) |
Will add any pending internal currency subscriptions
utcStart | The current date time in utc |
Definition at line 317 of file UniverseSelection.cs.
void QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.EnsureCurrencyDataFeeds | ( | SecurityChanges | securityChanges | ) |
Checks the current subscriptions and adds necessary currency pair feeds to provide real time conversion data
Definition at line 412 of file UniverseSelection.cs.
SecurityChanges QuantConnect.Lean.Engine.DataFeeds.UniverseSelection.HandleDelisting | ( | BaseData | data, |
bool | isInternalFeed | ||
) |
Handles the delisting process of the given data symbol from the algorithm securities
Definition at line 420 of file UniverseSelection.cs.