Class FixedDividend
A predetermined cash amount paid on a stock.
public sealed class FixedDividend : Dividend
- Inheritance
-
FixedDividend
- Inherited Members
Constructors
FixedDividend(double, Date)
Initializes a new instance of the FixedDividend class.
public FixedDividend(double amount, Date date)
Parameters
Exceptions
- ArgumentException
dateisdefault(Date).
Methods
Amount(EvaluationContext)
The amount paid.
public override double Amount(EvaluationContext context)
Parameters
contextEvaluationContextThe evaluation context, which a fixed amount doesn't read.
Returns
- double
The amount.
Exceptions
- ArgumentNullException
contextis null.
Amount(double)
The amount paid, whatever the underlying's value.
public override double Amount(double underlying)
Parameters
underlyingdoubleThe underlying's value, which a fixed amount doesn't read.
Returns
- double
The amount.