The MarketHours class represents the open and close times of a market, and is used to represent market trading hours in the MarketDetails class.
public bool AlwaysOpen
Returns whether the market is open 24 hours, by comparing the CloseTime to the OpenTime. If they are equal, the property returns true.
public TimeSpan CloseTime
Contains the market's closing time.
public TimeSpan OpenTime
Contains the market's opening time.
public bool TradesThroughMidnight
Returns whether the market trades through midnight. A market is considered to trade through midnight if its CloseTime is less than its OpenTime.