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

Detects whether a source declares static constexpr bool provides_working_orders = true, meaning it leaves the broker's working orders in the portfolio after an order-list read. More...

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

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

Detailed Description

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

Detects whether a source declares static constexpr bool provides_working_orders = true, meaning it leaves the broker's working orders in the portfolio after an order-list read.

false when undeclared; a WITHDRAW then does not report a complete stop from that source.

Template Parameters
SourceThe source type.

Definition at line 246 of file loop.hpp.


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