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
Dividend(string, DateTime, double)
Initializes a new dividend.
public Dividend(string symbol, DateTime exDate, double amount)
Parameters
Properties
Amount
Gets the amount of the dividend per share.
public double Amount { get; }
Property Value
ExDate
Gets the ex-date.
public DateTime ExDate { get; }
Property Value
PayDate
Gets the pay date.
public DateTime PayDate { get; }
Property Value
RecordDate
Gets the record date.
public DateTime RecordDate { get; }
Property Value
Symbol
Gets the symbol.
public string Symbol { get; }
Property Value
Methods
Equals(Dividend)
Returns true if the specified dividend is equal to this one.
public bool Equals(Dividend dividend)
Parameters
dividend
Dividend
Returns
Equals(object)
Returns true if the specified object is equal.
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
Returns a hash code for this dividend object.
public override int GetHashCode()
Returns
ToString()
Returns a string representation of this dividend.
public override string ToString()