Lean  $LEAN_TAG$
Program Class Reference

Static Public Member Functions

static void Main (string[] args)
 The main entry point for the application. More...
 
static void RunDownload (IDataDownloader dataDownloader, DataDownloadConfig dataDownloadConfig, string dataDirectory, IDataCacheProvider dataCacheProvider, bool mapSymbol=true)
 Executes a data download operation using the specified data downloader. More...
 
static void InitializeConfigurations ()
 Initializes various configurations for the application. This method sets up logging, data providers, map file providers, and factor file providers. More...
 

Detailed Description

Definition at line 29 of file Program.cs.

Member Function Documentation

◆ Main()

static void Program.Main ( string[]  args)
static

The main entry point for the application.

Parameters
argsCommand-line arguments passed to the application.

Definition at line 55 of file Program.cs.

Here is the call graph for this function:

◆ RunDownload()

static void Program.RunDownload ( IDataDownloader  dataDownloader,
DataDownloadConfig  dataDownloadConfig,
string  dataDirectory,
IDataCacheProvider  dataCacheProvider,
bool  mapSymbol = true 
)
static

Executes a data download operation using the specified data downloader.

Parameters
dataDownloaderAn instance of an object implementing the IDataDownloader interface, responsible for downloading data.
dataDownloadConfigConfiguration settings for the data download operation.
dataDirectoryThe directory where the downloaded data will be stored.
dataCacheProviderThe provider used to cache history data files
mapSymbolTrue if the symbol should be mapped while writing the data
Exceptions
ArgumentNullExceptionThrown when dataDownloader is null.

Definition at line 81 of file Program.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeConfigurations()

static void Program.InitializeConfigurations ( )
static

Initializes various configurations for the application. This method sets up logging, data providers, map file providers, and factor file providers.

The method reads configuration values to determine whether debugging is enabled, which log handler to use, and which data, map file, and factor file providers to initialize.

See also
Log, Config, Composer, ILogHandler, IDataProvider, IMapFileProvider, IFactorFileProvider

Definition at line 175 of file Program.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

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