algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::SessionHours Struct Reference

One session's bounds, as instants. More...

#include <algotradelib/src/core/calendar.hpp>

Public Attributes

std::chrono::system_clock::time_point opens_at_ {}
 When the session opens (inclusive).
std::chrono::system_clock::time_point closes_at_ {}
 When the session closes (exclusive).

Detailed Description

One session's bounds, as instants.

The open is inclusive and the close exclusive.

Definition at line 18 of file calendar.hpp.

Member Data Documentation

◆ closes_at_

std::chrono::system_clock::time_point algotradelib::SessionHours::closes_at_ {}

When the session closes (exclusive).

Definition at line 22 of file calendar.hpp.

◆ opens_at_

std::chrono::system_clock::time_point algotradelib::SessionHours::opens_at_ {}

When the session opens (inclusive).

Definition at line 20 of file calendar.hpp.


The documentation for this struct was generated from the following file: