dxFeed Graal CXX API v7.0.0
Loading...
Searching...
No Matches

Classes

struct  SessionFilter
 A filter for sessions used by various search methods. More...
 
struct  SessionType
 Defines type of session - what kind of trading activity is allowed (if any), what rules are used, what impact on daily trading statistics it has, etc. More...
 
struct  Day
 Day represents a continuous period of time approximately 24 hours long. More...
 
struct  DayFilter
 A filter for days used by various search methods. More...
 
struct  Schedule
 Schedule class provides API to retrieve and explore trading schedules of different exchanges and different classes of financial instruments. More...
 
struct  Session
 Session represents a continuous period of time during which apply same rules regarding trading activity. More...
 

Enumerations

enum class  SessionFilterEnum : std::uint32_t {
  SessionFilterEnum::ANY = 0 , SessionFilterEnum::TRADING , SessionFilterEnum::NON_TRADING , SessionFilterEnum::NO_TRADING ,
  SessionFilterEnum::PRE_MARKET , SessionFilterEnum::REGULAR , SessionFilterEnum::AFTER_MARKET
}
 
enum class  SessionTypeEnum : std::uint32_t { SessionTypeEnum::NO_TRADING = 0 , SessionTypeEnum::PRE_MARKET , SessionTypeEnum::REGULAR , SessionTypeEnum::AFTER_MARKET }
 
enum class  DayFilterEnum : std::uint32_t {
  DayFilterEnum::ANY = 0 , DayFilterEnum::TRADING , DayFilterEnum::NON_TRADING , DayFilterEnum::HOLIDAY ,
  DayFilterEnum::SHORT_DAY , DayFilterEnum::MONDAY , DayFilterEnum::TUESDAY , DayFilterEnum::WEDNESDAY ,
  DayFilterEnum::THURSDAY , DayFilterEnum::FRIDAY , DayFilterEnum::SATURDAY , DayFilterEnum::SUNDAY ,
  DayFilterEnum::WEEK_DAY , DayFilterEnum::WEEK_END
}
 Helper enum for DayFilter. More...
 

Detailed Description

Enumeration Type Documentation

◆ DayFilterEnum

enum class DayFilterEnum : std::uint32_t
strong

Helper enum for DayFilter.

Enumerator
ANY 

Accepts any day - useful for pure calendar navigation.

TRADING  

Accepts trading days only - those with (Day::isTrading() == true).

NON_TRADING  

Accepts non-trading days only - those with (Day::isTrading() == false).

HOLIDAY  

Accepts holidays only - those with (Day::isHoliday() == true).

SHORT_DAY  

Accepts short days only - those with (Day::isShortDay() == true).

MONDAY  

Accepts Mondays only - those with (Day::getDayOfWeek() == 1).

TUESDAY  

Accepts Tuesdays only - those with (Day::getDayOfWeek() == 2).

WEDNESDAY  

Accepts Wednesdays only - those with (Day::getDayOfWeek() == 3).

THURSDAY  

Accepts Thursdays only - those with (Day::getDayOfWeek() == 4).

FRIDAY  

Accepts Fridays only - those with (Day::getDayOfWeek() == 5).

SATURDAY  

Accepts Saturdays only - those with (Day::getDayOfWeek() == 6).

SUNDAY  

Accepts Sundays only - those with (Day::getDayOfWeek() == 7).

WEEK_DAY  

Accepts week-days only - those with (Day::getDayOfWeek() <= 5).

WEEK_END  

Accepts weekends only - those with (Day::getDayOfWeek() >= 6).

◆ SessionFilterEnum

enum class SessionFilterEnum : std::uint32_t
strong
Enumerator
ANY 

Accepts any session - useful for pure schedule navigation.

TRADING  

Accepts trading sessions only - those with (Session::isTrading() == true).

NON_TRADING  

Accepts non-trading sessions only - those with (Session::isTrading() == false).

NO_TRADING  

Accepts any session with type SessionType::NO_TRADING.

PRE_MARKET  

Accepts any session with type SessionType::PRE_MARKET.

REGULAR  

Accepts any session with type SessionType::REGULAR.

AFTER_MARKET  

Accepts any session with type SessionType::AFTER_MARKET.

◆ SessionTypeEnum

enum class SessionTypeEnum : std::uint32_t
strong
Enumerator
NO_TRADING 

Non-trading session type is used to mark periods of time during which trading is not allowed.

PRE_MARKET  

Pre-market session type marks extended trading session before regular trading hours.

REGULAR  

Regular session type marks regular trading hours session.

AFTER_MARKET  

After-market session type marks extended trading session after regular trading hours.