Lean
$LEAN_TAG$
|
Helper class used to managed pending security removals UniverseSelection More...
Classes | |
class | RemovedMember |
Helper class used to report removed universe members More... | |
Public Member Functions | |
PendingRemovalsManager (IOrderProvider orderProvider) | |
Create a new instance More... | |
List< RemovedMember > | TryRemoveMember (Security member, Universe universe) |
Will determine if the Security can be removed. If it can be removed will add it to PendingRemovals More... | |
List< RemovedMember > | CheckPendingRemovals (HashSet< Symbol > selectedSymbols, Universe currentUniverse) |
Will check pending security removals More... | |
Public Attributes | |
IReadOnlyDictionary< Universe, List< Security > > | PendingRemovals => _pendingRemovals |
Current pending removals More... | |
Helper class used to managed pending security removals UniverseSelection
Definition at line 27 of file PendingRemovalsManager.cs.
QuantConnect.Lean.Engine.DataFeeds.PendingRemovalsManager.PendingRemovalsManager | ( | IOrderProvider | orderProvider | ) |
Create a new instance
orderProvider | The order provider used to determine if it is safe to remove a security |
Definition at line 41 of file PendingRemovalsManager.cs.
List<RemovedMember> QuantConnect.Lean.Engine.DataFeeds.PendingRemovalsManager.TryRemoveMember | ( | Security | member, |
Universe | universe | ||
) |
Will determine if the Security can be removed. If it can be removed will add it to PendingRemovals
member | The security to remove |
universe | The universe which the security is a member of |
Definition at line 85 of file PendingRemovalsManager.cs.
List<RemovedMember> QuantConnect.Lean.Engine.DataFeeds.PendingRemovalsManager.CheckPendingRemovals | ( | HashSet< Symbol > | selectedSymbols, |
Universe | currentUniverse | ||
) |
Will check pending security removals
selectedSymbols | Currently selected symbols |
currentUniverse | Current universe |
Definition at line 113 of file PendingRemovalsManager.cs.
IReadOnlyDictionary<Universe, List<Security> > QuantConnect.Lean.Engine.DataFeeds.PendingRemovalsManager.PendingRemovals => _pendingRemovals |
Current pending removals
Definition at line 35 of file PendingRemovalsManager.cs.