The open-source GitHub repository of source code for the QCommunity Extensions library.
Contains indicators and other extensions submitted by the Quantacula Community.
Look for QCommunity indicators when you create a Building Block model, mark the "QCommunity" library check box to expose them.
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.