Defines special parameter for historical type.



SYNTAX

public int HistorySize { get; set; }



EXAMPLE

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

namespace HistoricalDataRequestExamples
{
     public class HistoricalDataRequestExamples : NETStrategy
     {
         public override void OnQuote()
         {
             Instrument inst = Instruments.Current;
             HistoricalDataRequest HistReq = new HistoricalDataRequest(inst,Period.Day);
             Print(HistReq.DataType);
             Print(HistReq.HistoryMode);
             Print(HistReq.HistorySize);
             Print(HistReq.HistoryType);
             Print(HistReq.Instrument);
             Print(HistReq.Period);
             Print(HistReq.Reversal);
             Print(HistReq.Extension);
             Print(HistReq.Inversion);
         }
     }
}