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... | |
Properties | |
string | Name [get, set] |
The algorithm's name More... | |
ISet< string > | Tags [get, set] |
List of tags associated with the algorithm More... | |
string | AccountCurrency [get, set] |
The algorithm's account currency More... | |
BrokerageName | Brokerage [get, set] |
The algorithm's brokerage model More... | |
AccountType | AccountType [get, set] |
The algorithm's account type More... | |
IReadOnlyDictionary< string, string > | Parameters [get, set] |
The parameters used by the algorithm More... | |
DateTime? | OutOfSampleMaxEndDate [get, set] |
Backtest maximum end date More... | |
int | OutOfSampleDays [get, set] |
The backtest out of sample day count More... | |
DateTime | StartDate [get, set] |
The backtest start date More... | |
DateTime | EndDate [get, set] |
The backtest end date More... | |
int | TradingDaysPerYear [get, set] |
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 95 of file AlgorithmConfiguration.cs.
QuantConnect.AlgorithmConfiguration.AlgorithmConfiguration | ( | ) |
Initializes a new empty instance of the AlgorithmConfiguration class
Definition at line 115 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 127 of file AlgorithmConfiguration.cs.
|
getset |
The algorithm's name
Definition at line 35 of file AlgorithmConfiguration.cs.
|
getset |
List of tags associated with the algorithm
Definition at line 40 of file AlgorithmConfiguration.cs.
|
getset |
The algorithm's account currency
Definition at line 46 of file AlgorithmConfiguration.cs.
|
getset |
The algorithm's brokerage model
Required to set the correct brokerage model on report generation.
Definition at line 52 of file AlgorithmConfiguration.cs.
|
getset |
The algorithm's account type
Required to set the correct brokerage model on report generation.
Definition at line 58 of file AlgorithmConfiguration.cs.
|
getset |
The parameters used by the algorithm
Definition at line 63 of file AlgorithmConfiguration.cs.
|
getset |
Backtest maximum end date
Definition at line 68 of file AlgorithmConfiguration.cs.
|
getset |
The backtest out of sample day count
Definition at line 73 of file AlgorithmConfiguration.cs.
|
getset |
The backtest start date
Definition at line 79 of file AlgorithmConfiguration.cs.
|
getset |
The backtest end date
Definition at line 85 of file AlgorithmConfiguration.cs.
|
getset |
Number of trading days per year for Algorithm's portfolio statistics.
Definition at line 90 of file AlgorithmConfiguration.cs.