HistorySize
property
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);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.