|
Lean
$LEAN_TAG$
|
Represents a period of time where the drawdown ranks amongst the top N drawdowns. More...
Public Member Functions | |
| DrawdownPeriod (DateTime start, DateTime end, double drawdown) | |
| Creates an instance with the given start, end, and drawdown More... | |
Public Attributes | |
| double | Drawdown => PeakToTrough |
| Loss in percent from peak to trough - Alias for PeakToTrough More... | |
Properties | |
| DateTime | Start [get] |
| Start of the drawdown period More... | |
| DateTime | End [get] |
| End of the drawdown period More... | |
| double | PeakToTrough [get] |
| Loss in percent from peak to trough More... | |
Represents a period of time where the drawdown ranks amongst the top N drawdowns.
Definition at line 23 of file DrawdownPeriod.cs.
| QuantConnect.Report.DrawdownPeriod.DrawdownPeriod | ( | DateTime | start, |
| DateTime | end, | ||
| double | drawdown | ||
| ) |
Creates an instance with the given start, end, and drawdown
| start | Start of the drawdown period |
| end | End of the drawdown period |
| drawdown | Max drawdown of the period |
Definition at line 51 of file DrawdownPeriod.cs.
| double QuantConnect.Report.DrawdownPeriod.Drawdown => PeakToTrough |
Loss in percent from peak to trough - Alias for PeakToTrough
Definition at line 43 of file DrawdownPeriod.cs.
|
get |
Start of the drawdown period
Definition at line 28 of file DrawdownPeriod.cs.
|
get |
End of the drawdown period
Definition at line 33 of file DrawdownPeriod.cs.
|
get |
Loss in percent from peak to trough
Definition at line 38 of file DrawdownPeriod.cs.