Instrument

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Instruments >

Instrument

Previous page Return to chapter overview Next page

Definition

A tradable symbol.  Represents an instance of a Master Instrument

 

Warning: The properties in this class should NOT be accessed within the OnStateChange() method before the State has reached State.DataLoaded

 

 

Methods and Properties

Exchange

Exchange of the current instrument

Expiry

Expiration date of the futures contract

FullName

Full name of the instrument

GetInstrument()

Returns an Instrument object by the master instrument name configured in the database.