ContractMonthDate
property
Date of contract expiration. Available for Options and Futures.
Syntax
public DateTime ContractMonthDate { get; set; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace ContractMonthDateExamples
{
public class ContractMonthDateExamples : NETStrategy
{
public override void OnQuote()
{
Instrument inst = Instruments.GetInstrument("/ES[U4]");
DerivativeSettings ds = inst.GetDerivativeSettings();
Print(ds.ContractMonthDate);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.