Lean
$LEAN_TAG$
|
Datafeed interface for creating custom datafeed sources. More...
Public Member Functions | |
void | Initialize (IAlgorithm algorithm, AlgorithmNodePacket job, IResultHandler resultHandler, IMapFileProvider mapFileProvider, IFactorFileProvider factorFileProvider, IDataProvider dataProvider, IDataFeedSubscriptionManager subscriptionManager, IDataFeedTimeProvider dataFeedTimeProvider, IDataChannelProvider dataChannelProvider) |
Initializes the data feed for the specified job and algorithm More... | |
Subscription | CreateSubscription (SubscriptionRequest request) |
Creates a new subscription to provide data for the specified security. More... | |
void | RemoveSubscription (Subscription subscription) |
Removes the subscription from the data feed, if it exists More... | |
void | Exit () |
External controller calls to signal a terminate of the thread. More... | |
Properties | |
bool | IsActive [get] |
Public flag indicator that the thread is still busy. More... | |
Datafeed interface for creating custom datafeed sources.
Definition at line 29 of file IDataFeed.cs.
void QuantConnect.Lean.Engine.DataFeeds.IDataFeed.Initialize | ( | IAlgorithm | algorithm, |
AlgorithmNodePacket | job, | ||
IResultHandler | resultHandler, | ||
IMapFileProvider | mapFileProvider, | ||
IFactorFileProvider | factorFileProvider, | ||
IDataProvider | dataProvider, | ||
IDataFeedSubscriptionManager | subscriptionManager, | ||
IDataFeedTimeProvider | dataFeedTimeProvider, | ||
IDataChannelProvider | dataChannelProvider | ||
) |
Initializes the data feed for the specified job and algorithm
Implemented in QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed, QuantConnect.Lean.Engine.DataFeeds.FileSystemDataFeed, QuantConnect.Lean.Engine.DataFeeds.NullDataFeed, and QuantConnect.Report.MockDataFeed.
Subscription QuantConnect.Lean.Engine.DataFeeds.IDataFeed.CreateSubscription | ( | SubscriptionRequest | request | ) |
Creates a new subscription to provide data for the specified security.
request | Defines the subscription to be added, including start/end times the universe and security |
Implemented in QuantConnect.Lean.Engine.DataFeeds.FileSystemDataFeed, QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed, QuantConnect.Lean.Engine.DataFeeds.NullDataFeed, and QuantConnect.Report.MockDataFeed.
void QuantConnect.Lean.Engine.DataFeeds.IDataFeed.RemoveSubscription | ( | Subscription | subscription | ) |
Removes the subscription from the data feed, if it exists
subscription | The subscription to remove |
Implemented in QuantConnect.Lean.Engine.DataFeeds.FileSystemDataFeed, QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed, QuantConnect.Lean.Engine.DataFeeds.NullDataFeed, and QuantConnect.Report.MockDataFeed.
void QuantConnect.Lean.Engine.DataFeeds.IDataFeed.Exit | ( | ) |
External controller calls to signal a terminate of the thread.
Implemented in QuantConnect.Lean.Engine.DataFeeds.FileSystemDataFeed, QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed, QuantConnect.Lean.Engine.DataFeeds.NullDataFeed, and QuantConnect.Report.MockDataFeed.
|
get |
Public flag indicator that the thread is still busy.
Definition at line 35 of file IDataFeed.cs.