Lean
$LEAN_TAG$
|
Aggregates ticks and bars based on given subscriptions. More...
Public Member Functions | |
void | Initialize (DataAggregatorInitializeParameters parameters) |
Initialize this instance More... | |
IEnumerator< BaseData > | Add (SubscriptionDataConfig dataConfig, EventHandler newDataAvailableHandler) |
Add new subscription to current IDataAggregator instance More... | |
bool | Remove (SubscriptionDataConfig dataConfig) |
Remove the given subscription More... | |
void | Update (BaseData input) |
Adds new BaseData input into aggregator. More... | |
Aggregates ticks and bars based on given subscriptions.
Definition at line 26 of file IDataAggregator.cs.
void QuantConnect.Data.IDataAggregator.Initialize | ( | DataAggregatorInitializeParameters | parameters | ) |
Initialize this instance
parameters | The parameters dto instance |
Implemented in QuantConnect.Lean.Engine.DataFeeds.AggregationManager.
IEnumerator<BaseData> QuantConnect.Data.IDataAggregator.Add | ( | SubscriptionDataConfig | dataConfig, |
EventHandler | newDataAvailableHandler | ||
) |
Add new subscription to current IDataAggregator instance
dataConfig | defines the parameters to subscribe to a data feed |
newDataAvailableHandler | handler to be fired on new data available |
The new enumerator for this subscription request
Implemented in QuantConnect.Lean.Engine.DataFeeds.AggregationManager.
bool QuantConnect.Data.IDataAggregator.Remove | ( | SubscriptionDataConfig | dataConfig | ) |
Remove the given subscription
dataConfig | defines the subscription configuration data. |
Implemented in QuantConnect.Lean.Engine.DataFeeds.AggregationManager.
void QuantConnect.Data.IDataAggregator.Update | ( | BaseData | input | ) |
Adds new BaseData input into aggregator.
input | The new data |
Implemented in QuantConnect.Lean.Engine.DataFeeds.AggregationManager.