銘柄の種類を返す。
銘柄の種類を表す
InstrumentType
取り得る値は次の通り:
InstrumentType.Currency
InstrumentType.Future
InstrumentType.Index
InstrumentType.Option
InstrumentType.Stock
Instrument.MasterInstrument.InstrumentType
このプロパティは、null参照のチェック無しにOnBarUpdate()イベント・ハンドラの中でアクセスすることができる。OnBarUpdate()イベントがトリガされた時、Instrumentオブジェクトは常に存在する。他の場所でこのプロパティにアクセスしたい場合は、null参照のチェックを最初に行うべきである。その例は: if (Instrument != null)