Dividends

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Instruments > Instrument > MasterInstrument >

Dividends

Previous page Return to chapter overview Next page

Definition

An collection of Dividends configured for the Master Instrument properties used in for stocks.

 

Property Value

A collection of Dividends configured for the current instrument.

 

Possible values are:

Amount

A double value representing the amount in dollars which was paid on the date of the dividend

Date

A DateTime structure representing the date of the dividend

 

Syntax

Bars.Instrument.MasterInstrument.Dividends

 

Examples

ns

foreach(Dividend dividends in Bars.Instrument.MasterInstrument.Dividends)
{
  Print(dividends.Amount);
  Print(dividends.Date);
}