Class EventStudyResults
- Namespace
- Balsam.EventStudy
- Assembly
- Balsam.Backtester.dll
A class that encapsulates a collection of EventStudyResults.
public class EventStudyResults : IEnumerable<EventStudyDetail>, IEnumerable
- Inheritance
-
EventStudyResults
- Implements
- Inherited Members
- Extension Methods
Properties
AuditTrailId
Gets a globally unique audit trail identifier for this object.
public string AuditTrailId { get; set; }
Property Value
Blackout
Gets/sets the blackout period.
public int Blackout { get; set; }
Property Value
Count
Gets the number of results.
public int Count { get; }
Property Value
FirstValidDate
Gets the first valid date after which studies were initializated and events could be recorded.
public DateTime FirstValidDate { get; }
Property Value
Horizons
Gets/sets the horizons.
public IEnumerable<int> Horizons { get; set; }
Property Value
this[int]
Gets a result based on the specified index.
public EventStudyDetail this[int index] { get; }
Parameters
index
int
Property Value
Runtime
Gets the runtime of the event study.
public DateTime Runtime { get; }
Property Value
StrategyName
Gets/sets the strategy name that generated this event study.
public string StrategyName { get; set; }
Property Value
SummaryStats
Gets the summary statistics.
public ReadOnlyCollection<SummaryStatistics> SummaryStats { get; }
Property Value
SuppressDetail
Gets/sets whether the individual event details will be exported to a report.
public bool SuppressDetail { get; set; }
Property Value
Title
Gets/sets a title for reporting and charting purposes.
public string Title { get; set; }
Property Value
TotalBars
Gets/sets the total number of bars on which the event study was run.
public int TotalBars { get; set; }
Property Value
Methods
Add(EventStudyDetail)
Adds the specified result to the collection.
public void Add(EventStudyDetail result)
Parameters
result
EventStudyDetail
Calculate(Strategy, int, bool, params int[])
Calculates EventStudyResults using the specified paramteters.
public static EventStudyResults Calculate(Strategy strategy, int blackout, bool suppressDetail, params int[] horizons)
Parameters
Returns
Calculate(Strategy, params int[])
Calculates EventStudyResults for the specified strategy and horizons.
public static EventStudyResults Calculate(Strategy strategy, params int[] horizons)
Parameters
Returns
GetEnumerator()
Gets an enumerator that iterates through the collection.
public IEnumerator<EventStudyDetail> GetEnumerator()