HistoryType
property
Represent the history building type.
Syntax
public HistoryType HistoryType { 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);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.