TradingSchedule Class

Class that wraps up the trading schedule for a contract for a week.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public class TradingSchedule
Inheritance
Object    TradingSchedule

Constructors

TradingSchedule Constructor.
TradingSchedule(String) Create the schedule from the specified packed string.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMarketMode Return the mode that this schedule says should be active for the date time specified.
GetNextClosedTime Return the time of the first scheduled Close after the time specified.
GetNextEvent(DateTime, DateTime) Get the first occurrance of the specified market mode event after the time specified.
GetNextEvent(DateTime, ListMarketMode, DateTime) Get the first occurrance of any of the specified market mode events after the time specified.
GetNextEvent(DateTime, MarketMode, DateTime) Get the first occurrance of the specified market mode event after the time specified.
GetNextOpenTime Return the time of the first scheduled Open after the time specified.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToPackedString Generate the packed string from this schedule.
ToStringReturns a string that represents the current object.
(Inherited from Object)
ToXML Create an xml representation of this data.

Fields

TradeDates List of trade dates for this week.

See Also