![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
One calendar date and whether the market opens on it. More...
#include <algotradelib/src/core/calendar.hpp>
Public Attributes | |
| Date | date_ {} |
| The market's local calendar date, as the broker reports it. | |
| bool | open_ {false} |
| Whether the market opens on date_. | |
One calendar date and whether the market opens on it.
open_ means the exchange trades that day. It is not a banking or settlement business day, which some brokers report separately.
Definition at line 19 of file calendar.hpp.
| Date algotradelib::TradingDay::date_ {} |
The market's local calendar date, as the broker reports it.
A broker row whose date cannot be read produces no TradingDay; it is counted in TradingCalendar::unreadable_days_ instead.
Definition at line 26 of file calendar.hpp.
| bool algotradelib::TradingDay::open_ {false} |
Whether the market opens on date_.
Definition at line 28 of file calendar.hpp.