Table of Contents

Class FixedDividend

Namespace
NanoQL.Coupons
Assembly
NanoQL.dll

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

amount double

The amount.

date Date

The payment date.

Exceptions

ArgumentException

date is default(Date).

Methods

Amount(EvaluationContext)

The amount paid.

public override double Amount(EvaluationContext context)

Parameters

context EvaluationContext

The evaluation context, which a fixed amount doesn't read.

Returns

double

The amount.

Exceptions

ArgumentNullException

context is null.

Amount(double)

The amount paid, whatever the underlying's value.

public override double Amount(double underlying)

Parameters

underlying double

The underlying's value, which a fixed amount doesn't read.

Returns

double

The amount.