Splits

<< Click to Display Table of Contents >>

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

Splits

Previous page Return to chapter overview Next page

Definition

Indicates the Splits that have been configured for the Master Instrument properties used in for stocks.

 

Property Value

A collection of Splits configured for the current instrument.

 

Possible values are:

Date

A DateTime structure representing the date of the split

Factor

A double value representing the number of points the stock split

 

 

Syntax

Bars.Instrument.MasterInstrument.Splits

 

Examples

ns


foreach (Split split in Bars.Instrument.MasterInstrument.Splits)
{
    Print(split.Date);
    Print(split.Factor);
}