![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
Whether a bar opens or closes its session, as SessionEdges::next decided it. More...
#include <algotradelib/src/strategy/event.hpp>
Public Attributes | |
| bool | opens_ {false} |
| The bar opens its session: the first bar of its market-local date that reaches into the session, ending after the open (or a single price at it) and starting before the close. | |
| bool | closes_ {false} |
| The bar closes its session: the first bar of its date whose period holds the close, starting at or before it and ending at or after it. | |
| bool | point_ {false} |
| The bar's period is empty: it is one price at one instant, such as a daily bar stamped at the open. | |
Whether a bar opens or closes its session, as SessionEdges::next decided it.
| bool algotradelib::strategy::SessionEdge::closes_ {false} |
The bar closes its session: the first bar of its date whose period holds the close, starting at or before it and ending at or after it.
Definition at line 427 of file event.hpp.
Referenced by algotradelib::strategy::SessionEdges::next().
| bool algotradelib::strategy::SessionEdge::opens_ {false} |
The bar opens its session: the first bar of its market-local date that reaches into the session, ending after the open (or a single price at it) and starting before the close.
Definition at line 422 of file event.hpp.
Referenced by algotradelib::strategy::SessionEdges::next().
| bool algotradelib::strategy::SessionEdge::point_ {false} |
The bar's period is empty: it is one price at one instant, such as a daily bar stamped at the open.
Definition at line 429 of file event.hpp.
Referenced by algotradelib::strategy::SessionEdges::next().