Wealth-Lab Framework
Search Framework:
MarketHours
Namespace: WealthLab.Core
Parent: Object
Parent: Object
The MarketHours class represents the open and close times of a market, and is used to represent market trading hours in the MarketDetails class.
Members
AlwaysOpen
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.
CloseTime
public TimeSpan CloseTime
Contains the market's closing time.
OpenTime
public TimeSpan OpenTime
Contains the market's opening time.
TradesThroughMidnight
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.