algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::runner::source_names_buying_power_currencies< Source, typename > Struct Template Reference

Detects whether a source provides const std::vector<Currency>& buying_power_currencies() const. More...

#include <algotradelib/src/runner/loop.hpp>

Inheritance diagram for algotradelib::runner::source_names_buying_power_currencies< Source, typename >:
Collaboration diagram for algotradelib::runner::source_names_buying_power_currencies< Source, typename >:

Detailed Description

template<typename Source, typename = void>
struct algotradelib::runner::source_names_buying_power_currencies< Source, typename >

Detects whether a source provides const std::vector<Currency>& buying_power_currencies() const.

With it (and currencies named), the buying-power gate holds until every named currency has a fresh reading; otherwise it needs at least one reading, and every reading present must be fresh.

Template Parameters
SourceThe source type.

Definition at line 518 of file loop.hpp.


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