Time when trade occurred.


SYNTAX


public DateTime Time { get; }


EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace TradeClassExamples
{
     public class TradeClassExamples : NETStrategy
     {
         public override void OnQuote()
         {
             Instrument inst = Instruments.Current;
             Trade td = inst.GetLastTrade();
        
             //TradeClass Properties
             Print(td.Aggressor);
             Print(td.Exchange);
             Print(td.Instrument);
             Print(td.Price);
             Print(td.Size);
             Print(td.Time);
         }
     }
}