Lean  $LEAN_TAG$
QuantConnect.Report.MockDataFeed Class Reference

Fake IDataFeed More...

Inheritance diagram for QuantConnect.Report.MockDataFeed:
[legend]

Public Member Functions

void Initialize (IAlgorithm algorithm, AlgorithmNodePacket job, IResultHandler resultHandler, IMapFileProvider mapFileProvider, IFactorFileProvider factorFileProvider, IDataProvider dataProvider, IDataFeedSubscriptionManager subscriptionManager, IDataFeedTimeProvider dataFeedTimeProvider, IDataChannelProvider dataChannelProvider)
 Initialize the data feed This implementation does nothing More...
 
Subscription CreateSubscription (SubscriptionRequest request)
 Create Subscription More...
 
void RemoveSubscription (Subscription subscription)
 Remove Subscription; Not implemented More...
 
void Exit ()
 DataFeed Exit More...
 

Properties

bool IsActive [get]
 Bool if the feed is active More...
 
- Properties inherited from QuantConnect.Lean.Engine.DataFeeds.IDataFeed
bool IsActive [get]
 Public flag indicator that the thread is still busy. More...
 

Detailed Description

Fake IDataFeed

Definition at line 27 of file MockDataFeed.cs.

Member Function Documentation

◆ Initialize()

void QuantConnect.Report.MockDataFeed.Initialize ( IAlgorithm  algorithm,
AlgorithmNodePacket  job,
IResultHandler  resultHandler,
IMapFileProvider  mapFileProvider,
IFactorFileProvider  factorFileProvider,
IDataProvider  dataProvider,
IDataFeedSubscriptionManager  subscriptionManager,
IDataFeedTimeProvider  dataFeedTimeProvider,
IDataChannelProvider  dataChannelProvider 
)

Initialize the data feed This implementation does nothing

Implements QuantConnect.Lean.Engine.DataFeeds.IDataFeed.

Definition at line 38 of file MockDataFeed.cs.

◆ CreateSubscription()

Subscription QuantConnect.Report.MockDataFeed.CreateSubscription ( SubscriptionRequest  request)

Create Subscription

Parameters
requestSubscription request to use
Returns
Always null

Implements QuantConnect.Lean.Engine.DataFeeds.IDataFeed.

Definition at line 57 of file MockDataFeed.cs.

◆ RemoveSubscription()

void QuantConnect.Report.MockDataFeed.RemoveSubscription ( Subscription  subscription)

Remove Subscription; Not implemented

Parameters
subscriptionSubscription to remove

Implements QuantConnect.Lean.Engine.DataFeeds.IDataFeed.

Definition at line 66 of file MockDataFeed.cs.

◆ Exit()

void QuantConnect.Report.MockDataFeed.Exit ( )

DataFeed Exit

Implements QuantConnect.Lean.Engine.DataFeeds.IDataFeed.

Definition at line 73 of file MockDataFeed.cs.

Property Documentation

◆ IsActive

bool QuantConnect.Report.MockDataFeed.IsActive
get

Bool if the feed is active

Definition at line 32 of file MockDataFeed.cs.


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