Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager Class Reference

Class in charge of handling Leans internal subscriptions More...

Public Member Functions

 InternalSubscriptionManager (IAlgorithm algorithm, Resolution resolution)
 Creates a new instances More...
 
void AddedSubscriptionRequest (SubscriptionRequest request)
 Notifies about a removed subscription request More...
 
void RemovedSubscriptionRequest (SubscriptionRequest request)
 Notifies about an added subscription request More...
 

Properties

EventHandler< SubscriptionRequestAdded [get, set]
 Event fired when a new internal subscription request is to be added More...
 
EventHandler< SubscriptionRequestRemoved [get, set]
 Event fired when an existing internal subscription should be removed More...
 

Detailed Description

Class in charge of handling Leans internal subscriptions

Definition at line 28 of file InternalSubscriptionManager.cs.

Constructor & Destructor Documentation

◆ InternalSubscriptionManager()

QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager.InternalSubscriptionManager ( IAlgorithm  algorithm,
Resolution  resolution 
)

Creates a new instances

Parameters
algorithmThe associated algorithm
resolutionThe resolution to use for the internal subscriptions

Definition at line 49 of file InternalSubscriptionManager.cs.

Member Function Documentation

◆ AddedSubscriptionRequest()

void QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager.AddedSubscriptionRequest ( SubscriptionRequest  request)

Notifies about a removed subscription request

Parameters
requestThe removed subscription request

Definition at line 60 of file InternalSubscriptionManager.cs.

◆ RemovedSubscriptionRequest()

void QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager.RemovedSubscriptionRequest ( SubscriptionRequest  request)

Notifies about an added subscription request

Parameters
requestThe added subscription request

Definition at line 109 of file InternalSubscriptionManager.cs.

Property Documentation

◆ Added

EventHandler<SubscriptionRequest> QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager.Added
getset

Event fired when a new internal subscription request is to be added

Definition at line 37 of file InternalSubscriptionManager.cs.

◆ Removed

EventHandler<SubscriptionRequest> QuantConnect.Lean.Engine.DataFeeds.InternalSubscriptionManager.Removed
getset

Event fired when an existing internal subscription should be removed

Definition at line 42 of file InternalSubscriptionManager.cs.


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