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