Class SessionFilter
A filter for sessions used by various search methods. This class provides predefined filters for certain Session attributes, although users can create their own filters to suit their needs.
Please note that sessions can be either trading or non-trading, and this distinction can be either based on rules (e.g. weekends) or dictated by special occasions (e.g. holidays). Different filters treat this distinction differently - some accept only trading sessions, some only non-trading, and some ignore type of session altogether.public class SessionFilter
- Inheritance
-
SessionFilter
- Inherited Members
Fields
AFTER_MARKET
Accepts any session with type AFTER_MARKET.
public static readonly SessionFilter AFTER_MARKET
Field Value
ANY
Accepts any session - useful for pure schedule navigation.
public static readonly SessionFilter ANY
Field Value
NON_TRADING
public static readonly SessionFilter NON_TRADING
Field Value
NO_TRADING
Accepts any session with type NO_TRADING.
public static readonly SessionFilter NO_TRADING
Field Value
PRE_MARKET
Accepts any session with type PRE_MARKET.
public static readonly SessionFilter PRE_MARKET
Field Value
REGULAR
Accepts any session with type REGULAR.
public static readonly SessionFilter REGULAR
Field Value
TRADING
public static readonly SessionFilter TRADING
Field Value
Properties
Type
Gets session type.
public SessionType? Type { get; }