Table of Contents

Class Dividend

Namespace
Balsam
Assembly
Balsam.Backtester.dll

Encapsulates dividend information.

public class Dividend
Inheritance
Dividend
Inherited Members
Extension Methods

Constructors

Dividend(string, DateTime, DateTime, DateTime, double)

Initializes a new dividend.

public Dividend(string symbol, DateTime exDate, DateTime recordDate, DateTime payDate, double amount)

Parameters

symbol string
exDate DateTime
recordDate DateTime
payDate DateTime
amount double

Dividend(string, DateTime, double)

Initializes a new dividend.

public Dividend(string symbol, DateTime exDate, double amount)

Parameters

symbol string
exDate DateTime
amount double

Properties

Amount

Gets the amount of the dividend per share.

public double Amount { get; }

Property Value

double

ExDate

Gets the ex-date.

public DateTime ExDate { get; }

Property Value

DateTime

PayDate

Gets the pay date.

public DateTime PayDate { get; }

Property Value

DateTime

RecordDate

Gets the record date.

public DateTime RecordDate { get; }

Property Value

DateTime

Symbol

Gets the symbol.

public string Symbol { get; }

Property Value

string

Methods

Equals(Dividend)

Returns true if the specified dividend is equal to this one.

public bool Equals(Dividend dividend)

Parameters

dividend Dividend

Returns

bool

Equals(object)

Returns true if the specified object is equal.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Returns a hash code for this dividend object.

public override int GetHashCode()

Returns

int

ToString()

Returns a string representation of this dividend.

public override string ToString()

Returns

string