Lean
$LEAN_TAG$
|
This class includes algorithm configuration settings and parameters. This is used to include configuration parameters in the result packet to be used for report generation. More...
Public Member Functions | |
AlgorithmConfiguration (string name, ISet< string > tags, string accountCurrency, BrokerageName brokerageName, AccountType accountType, IReadOnlyDictionary< string, string > parameters, DateTime startDate, DateTime endDate, DateTime? outOfSampleMaxEndDate, int outOfSampleDays=0, int tradingDaysPerYear=0) | |
Initializes a new instance of the AlgorithmConfiguration class More... | |
AlgorithmConfiguration () | |
Initializes a new empty instance of the AlgorithmConfiguration class More... | |
Static Public Member Functions | |
static AlgorithmConfiguration | Create (IAlgorithm algorithm, BacktestNodePacket backtestNodePacket) |
Provides a convenience method for creating a AlgorithmConfiguration for a given algorithm. More... | |
Public Attributes | |
string | Name |
The algorithm's name More... | |
ISet< string > | Tags |
List of tags associated with the algorithm More... | |
string | AccountCurrency |
The algorithm's account currency More... | |
BrokerageName | BrokerageName |
The algorithm's brokerage model More... | |
AccountType | AccountType |
The algorithm's account type More... | |
IReadOnlyDictionary< string, string > | Parameters |
The parameters used by the algorithm More... | |
DateTime? | OutOfSampleMaxEndDate |
Backtest maximum end date More... | |
int | OutOfSampleDays |
The backtest out of sample day count More... | |
DateTime | StartDate |
The backtest start date More... | |
DateTime | EndDate |
The backtest end date More... | |
int | TradingDaysPerYear |
Number of trading days per year for Algorithm's portfolio statistics. More... | |
This class includes algorithm configuration settings and parameters. This is used to include configuration parameters in the result packet to be used for report generation.
Definition at line 30 of file AlgorithmConfiguration.cs.
QuantConnect.AlgorithmConfiguration.AlgorithmConfiguration | ( | string | name, |
ISet< string > | tags, | ||
string | accountCurrency, | ||
BrokerageName | brokerageName, | ||
AccountType | accountType, | ||
IReadOnlyDictionary< string, string > | parameters, | ||
DateTime | startDate, | ||
DateTime | endDate, | ||
DateTime? | outOfSampleMaxEndDate, | ||
int | outOfSampleDays = 0 , |
||
int | tradingDaysPerYear = 0 |
||
) |
Initializes a new instance of the AlgorithmConfiguration class
Definition at line 105 of file AlgorithmConfiguration.cs.
QuantConnect.AlgorithmConfiguration.AlgorithmConfiguration | ( | ) |
Initializes a new empty instance of the AlgorithmConfiguration class
Definition at line 125 of file AlgorithmConfiguration.cs.
|
static |
Provides a convenience method for creating a AlgorithmConfiguration for a given algorithm.
algorithm | Algorithm for which the configuration object is being created |
backtestNodePacket | The associated backtest node packet if any |
Definition at line 137 of file AlgorithmConfiguration.cs.
string QuantConnect.AlgorithmConfiguration.Name |
The algorithm's name
Definition at line 36 of file AlgorithmConfiguration.cs.
ISet<string> QuantConnect.AlgorithmConfiguration.Tags |
List of tags associated with the algorithm
Definition at line 42 of file AlgorithmConfiguration.cs.
string QuantConnect.AlgorithmConfiguration.AccountCurrency |
The algorithm's account currency
Definition at line 48 of file AlgorithmConfiguration.cs.
BrokerageName QuantConnect.AlgorithmConfiguration.BrokerageName |
The algorithm's brokerage model
Required to set the correct brokerage model on report generation.
Definition at line 55 of file AlgorithmConfiguration.cs.
AccountType QuantConnect.AlgorithmConfiguration.AccountType |
The algorithm's account type
Required to set the correct brokerage model on report generation.
Definition at line 62 of file AlgorithmConfiguration.cs.
IReadOnlyDictionary<string, string> QuantConnect.AlgorithmConfiguration.Parameters |
The parameters used by the algorithm
Definition at line 68 of file AlgorithmConfiguration.cs.
DateTime? QuantConnect.AlgorithmConfiguration.OutOfSampleMaxEndDate |
Backtest maximum end date
Definition at line 74 of file AlgorithmConfiguration.cs.
int QuantConnect.AlgorithmConfiguration.OutOfSampleDays |
The backtest out of sample day count
Definition at line 80 of file AlgorithmConfiguration.cs.
DateTime QuantConnect.AlgorithmConfiguration.StartDate |
The backtest start date
Definition at line 87 of file AlgorithmConfiguration.cs.
DateTime QuantConnect.AlgorithmConfiguration.EndDate |
The backtest end date
Definition at line 94 of file AlgorithmConfiguration.cs.
int QuantConnect.AlgorithmConfiguration.TradingDaysPerYear |
Number of trading days per year for Algorithm's portfolio statistics.
Definition at line 100 of file AlgorithmConfiguration.cs.