|
Lean
$LEAN_TAG$
|
Task requestor interface with cloud system More...
Public Member Functions | |
| IEnumerator< BaseData > | Subscribe (SubscriptionDataConfig dataConfig, EventHandler newDataAvailableHandler) |
| Subscribe to the specified configuration More... | |
| void | Unsubscribe (SubscriptionDataConfig dataConfig) |
| Removes the specified configuration More... | |
| void | SetJob (LiveNodePacket job) |
| Sets the job we're subscribing for More... | |
Properties | |
| bool | IsConnected [get] |
| Returns whether the data provider is connected More... | |
Task requestor interface with cloud system
Definition at line 29 of file IDataQueueHandler.cs.
| IEnumerator<BaseData> QuantConnect.Interfaces.IDataQueueHandler.Subscribe | ( | SubscriptionDataConfig | dataConfig, |
| EventHandler | newDataAvailableHandler | ||
| ) |
Subscribe to the specified configuration
| dataConfig | defines the parameters to subscribe to a data feed |
| newDataAvailableHandler | handler to be fired on new data available |
Implemented in QuantConnect.Lean.Engine.DataFeeds.Queues.FakeDataQueue, QuantConnect.Lean.Engine.DataFeeds.DataQueueHandlerManager, and QuantConnect.Lean.Engine.DataFeeds.Queues.LiveDataQueue.
| void QuantConnect.Interfaces.IDataQueueHandler.Unsubscribe | ( | SubscriptionDataConfig | dataConfig | ) |
Removes the specified configuration
| dataConfig | Subscription config to be removed |
Implemented in QuantConnect.Lean.Engine.DataFeeds.DataQueueHandlerManager, QuantConnect.Lean.Engine.DataFeeds.Queues.FakeDataQueue, and QuantConnect.Lean.Engine.DataFeeds.Queues.LiveDataQueue.
| void QuantConnect.Interfaces.IDataQueueHandler.SetJob | ( | LiveNodePacket | job | ) |
Sets the job we're subscribing for
| job | Job we're subscribing for |
Implemented in QuantConnect.Lean.Engine.DataFeeds.DataQueueHandlerManager, QuantConnect.Lean.Engine.DataFeeds.Queues.FakeDataQueue, and QuantConnect.Lean.Engine.DataFeeds.Queues.LiveDataQueue.
|
get |
Returns whether the data provider is connected
Definition at line 55 of file IDataQueueHandler.cs.