Table of Contents

Class SessionFilter

Namespace
DxFeed.Graal.Net.Schedules
Assembly
DxFeed.Graal.Net.dll

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

SessionFilter

ANY

Accepts any session - useful for pure schedule navigation.

public static readonly SessionFilter ANY

Field Value

SessionFilter

NON_TRADING

Accepts non-trading sessions only - those with Session.IsTrading == false.

public static readonly SessionFilter NON_TRADING

Field Value

SessionFilter

NO_TRADING

Accepts any session with type NO_TRADING.

public static readonly SessionFilter NO_TRADING

Field Value

SessionFilter

PRE_MARKET

Accepts any session with type PRE_MARKET.

public static readonly SessionFilter PRE_MARKET

Field Value

SessionFilter

REGULAR

Accepts any session with type REGULAR.

public static readonly SessionFilter REGULAR

Field Value

SessionFilter

TRADING

Accepts trading sessions only - those with Session.IsTrading == true.

public static readonly SessionFilter TRADING

Field Value

SessionFilter

Properties

Type

Gets session type.

public SessionType? Type { get; }

Property Value

SessionType?