Defines the period of historical elements.
SYNTAX
public int Period { 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 Init()
{
Instrument inst = Instruments.Current;
HistoricalDataRequest HistReq = new HistoricalDataRequest(inst,Period.Day);
if(HistReq.Period!=0)
Print("This history ain't tick data");
}
}
}