Lean  $LEAN_TAG$
QuantConnect.Api.Backtest Class Reference

Results object class. Results are exhaust from backtest or live algorithms running in LEAN More...

Inheritance diagram for QuantConnect.Api.Backtest:
[legend]

Properties

string Note [get, set]
 Note on the backtest attached by the user More...
 
bool Completed [get, set]
 Boolean true when the backtest is completed. More...
 
string Error [get, set]
 Backtest error message More...
 
string StackTrace [get, set]
 Backtest error stacktrace More...
 
int OrganizationId [get, set]
 Organization ID More...
 
Dictionary< string, AlgorithmPerformanceRollingWindow [get, set]
 Rolling window detailed statistics. More...
 
AlgorithmPerformance TotalPerformance [get, set]
 Total algorithm performance statistics. More...
 
IDictionary< string, ChartCharts [get, set]
 Charts updates for the live algorithm since the last result packet More...
 
IDictionary< string, string > Statistics [get, set]
 Statistics information sent during the algorithm operations. More...
 
IDictionary< string, string > RuntimeStatistics [get, set]
 Runtime banner/updating statistics in the title banner of the live algorithm GUI. More...
 
ResearchGuide ResearchGuide [get, set]
 A power gauge for backtests, time and parameters to estimate the overfitting risk More...
 
DateTime? BacktestStart [get, set]
 The starting time of the backtest More...
 
DateTime? BacktestEnd [get, set]
 The ending time of the backtest More...
 
bool HasInitializeError [get, set]
 Indicates if the backtest has error during initialization More...
 
string NodeName [get, set]
 The backtest node name More...
 
DateTime? OutOfSampleMaxEndDate [get, set]
 End date of out of sample data More...
 
int? OutOfSampleDays [get, set]
 Number of days of out of sample days More...
 
- Properties inherited from QuantConnect.Api.BasicBacktest
string BacktestId [get, set]
 Assigned backtest Id More...
 
string Status [get, set]
 Status of the backtest More...
 
string Name [get, set]
 Name of the backtest More...
 
DateTime Created [get, set]
 Backtest creation date and time More...
 
decimal Progress [get, set]
 Progress of the backtest in percent 0-1. More...
 
string OptimizationId [get, set]
 Optimization task ID, if the backtest is part of an optimization More...
 
int TradeableDates [get, set]
 Number of tradeable days More...
 
ParameterSet ParameterSet [get, set]
 Optimization parameters More...
 
int SnapShotId [get, set]
 Snapshot id of this backtest result More...
 
- Properties inherited from QuantConnect.Api.RestResponse
bool Success [get, set]
 Indicate if the API request was successful. More...
 
List< string > Errors [get, set]
 List of errors with the API call. More...
 

Additional Inherited Members

- Public Member Functions inherited from QuantConnect.Api.RestResponse
 RestResponse ()
 JSON Constructor More...
 

Detailed Description

Results object class. Results are exhaust from backtest or live algorithms running in LEAN

Definition at line 117 of file Backtest.cs.

Property Documentation

◆ Note

string QuantConnect.Api.Backtest.Note
getset

Note on the backtest attached by the user

Definition at line 124 of file Backtest.cs.

◆ Completed

bool QuantConnect.Api.Backtest.Completed
getset

Boolean true when the backtest is completed.

Definition at line 130 of file Backtest.cs.

◆ Error

string QuantConnect.Api.Backtest.Error
getset

Backtest error message

Definition at line 136 of file Backtest.cs.

◆ StackTrace

string QuantConnect.Api.Backtest.StackTrace
getset

Backtest error stacktrace

Definition at line 142 of file Backtest.cs.

◆ OrganizationId

int QuantConnect.Api.Backtest.OrganizationId
getset

Organization ID

Definition at line 148 of file Backtest.cs.

◆ RollingWindow

Dictionary<string, AlgorithmPerformance> QuantConnect.Api.Backtest.RollingWindow
getset

Rolling window detailed statistics.

Definition at line 154 of file Backtest.cs.

◆ TotalPerformance

AlgorithmPerformance QuantConnect.Api.Backtest.TotalPerformance
getset

Total algorithm performance statistics.

Definition at line 160 of file Backtest.cs.

◆ Charts

IDictionary<string, Chart> QuantConnect.Api.Backtest.Charts
getset

Charts updates for the live algorithm since the last result packet

Definition at line 166 of file Backtest.cs.

◆ Statistics

IDictionary<string, string> QuantConnect.Api.Backtest.Statistics
getset

Statistics information sent during the algorithm operations.

Intended for update mode – send updates to the existing statistics in the result GUI. If statistic key does not exist in GUI, create it

Definition at line 173 of file Backtest.cs.

◆ RuntimeStatistics

IDictionary<string, string> QuantConnect.Api.Backtest.RuntimeStatistics
getset

Runtime banner/updating statistics in the title banner of the live algorithm GUI.

Definition at line 179 of file Backtest.cs.

◆ ResearchGuide

ResearchGuide QuantConnect.Api.Backtest.ResearchGuide
getset

A power gauge for backtests, time and parameters to estimate the overfitting risk

Definition at line 185 of file Backtest.cs.

◆ BacktestStart

DateTime? QuantConnect.Api.Backtest.BacktestStart
getset

The starting time of the backtest

Definition at line 191 of file Backtest.cs.

◆ BacktestEnd

DateTime? QuantConnect.Api.Backtest.BacktestEnd
getset

The ending time of the backtest

Definition at line 197 of file Backtest.cs.

◆ HasInitializeError

bool QuantConnect.Api.Backtest.HasInitializeError
getset

Indicates if the backtest has error during initialization

Definition at line 203 of file Backtest.cs.

◆ NodeName

string QuantConnect.Api.Backtest.NodeName
getset

The backtest node name

Definition at line 209 of file Backtest.cs.

◆ OutOfSampleMaxEndDate

DateTime? QuantConnect.Api.Backtest.OutOfSampleMaxEndDate
getset

End date of out of sample data

Definition at line 215 of file Backtest.cs.

◆ OutOfSampleDays

int? QuantConnect.Api.Backtest.OutOfSampleDays
getset

Number of days of out of sample days

Definition at line 221 of file Backtest.cs.


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