Exchanges

<< Click to Display Table of Contents >>

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

Exchanges

Previous page Return to chapter overview Next page

Definition

A collection of exchange(s) configured for the Master Instrument properties.

 

Property Value

A collection of Exchanges which represent the exchanges configured for the current instrument.

 

Syntax

Bars.Instrument.MasterInstrument.Exchanges

 

Examples

ns


foreach(Exchange exchange in Bars.Instrument.MasterInstrument.Exchanges)
{
Print(exchange); // Default, Nasdaq, NYSE
}