algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::backtest::Backtester< Strategy, CapsType >::InstrumentSlot::ByInterval Struct Reference

What is kept per interval of the instrument. More...

#include <algotradelib/src/backtest/engine.hpp>

Public Attributes

BarInterval interval_ {BarInterval::ONE_DAY}
 The interval.
std::optional< std::chrono::system_clock::time_point > pending_
 The period end of its bar in the period being collected, if it has one there.

Detailed Description

template<typename Strategy, typename CapsType = strategy::NoCaps>
struct algotradelib::backtest::Backtester< Strategy, CapsType >::InstrumentSlot::ByInterval

What is kept per interval of the instrument.

Definition at line 1372 of file engine.hpp.

Member Data Documentation

◆ interval_

template<typename Strategy, typename CapsType = strategy::NoCaps>
BarInterval algotradelib::backtest::Backtester< Strategy, CapsType >::InstrumentSlot::ByInterval::interval_ {BarInterval::ONE_DAY}

The interval.

Definition at line 1374 of file engine.hpp.

◆ pending_

template<typename Strategy, typename CapsType = strategy::NoCaps>
std::optional<std::chrono::system_clock::time_point> algotradelib::backtest::Backtester< Strategy, CapsType >::InstrumentSlot::ByInterval::pending_

The period end of its bar in the period being collected, if it has one there.

Definition at line 1376 of file engine.hpp.


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