Table of Contents

Class EventStudyDetail

Namespace
Balsam.EventStudy
Assembly
Balsam.Backtester.dll

Encapsulates a collection of EventStudyPoints for a particular event.

public class EventStudyDetail : IEnumerable<EventStudyPoint>, IEnumerable
Inheritance
EventStudyDetail
Implements
Inherited Members
Extension Methods

Constructors

EventStudyDetail(DateTime, object)

Instantiates a new EventStudyResult using the specifed date and and event value.

public EventStudyDetail(DateTime eventDate, object eventValue)

Parameters

eventDate DateTime
eventValue object

Properties

Count

The number of event study points.

public int Count { get; }

Property Value

int

Date

Gets the date of the event.

public DateTime Date { get; }

Property Value

DateTime

EventValue

Gets the value of the event series if any.

public object EventValue { get; }

Property Value

object

this[int]

Gets an EventStudyPoint based on the specified index.

public EventStudyPoint this[int index] { get; }

Parameters

index int

Property Value

EventStudyPoint

Methods

Add(EventStudyPoint)

Adds the specified observation to the collection.

public void Add(EventStudyPoint observation)

Parameters

observation EventStudyPoint

GetEnumerator()

Returns an enumerator to iterate through the collection of EventStudyPoints.

public IEnumerator<EventStudyPoint> GetEnumerator()

Returns

IEnumerator<EventStudyPoint>