IsContinuous
property
Return true if futures is continous contract.
Syntax
public bool IsContinuous { get; set; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace IsContinuousExamples
{
public class IsContinuousExamples : NETStrategy
{
public override void OnQuote()
{
Instrument inst = Instruments.GetInstrument("/ES[U4]");
DerivativeSettings ds = inst.GetDerivativeSettings();
Print(ds.IsContinuous);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.