Represents the Instrument for selected historical data.


SYNTAX


public Instrument Instrument { get; }



EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace HistoricalDataPropertiesExamples
{
     public class HistoricalDataPropertiesExamples : NETStrategy
     {
        public override void Init()
        {
            Instrument inst = Instruments.Current;
            HistoricalData Hist = GetHistoricalData(new HistoricalDataRequest(inst,Period.Day));
            Print(Hist.Count);
            Print(Hist.DataType);
            Print(Hist.HistoryMode);
            Print(Hist.HistorySize);
            Print(Hist.HistoryType);
            Print(Hist.Instrument);
            Print(Hist.Loading);
            Print(Hist.Period);
            Print(Hist.Reversal);
            Print(Hist.Extension);
            Print(Hist.Inversion);
        }   
     }
}