![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
Every outstanding order, oldest first: a view over the queue, valid until the queue changes. More...
#include <algotradelib/src/backtest/engine.hpp>
Classes | |
| class | const_iterator |
| Walks the outstanding orders, oldest first. More... | |
Public Member Functions | |
| const_iterator | begin () const noexcept |
| Returns the oldest outstanding order's position. | |
| const_iterator | end () const noexcept |
| Returns the position past the newest. | |
| std::size_t | size () const noexcept |
| Returns how many orders are outstanding. | |
| bool | empty () const noexcept |
| Returns whether no order is outstanding. | |
| const QueuedOrder< BrokerTag > & | front () const noexcept |
| Returns the oldest outstanding order; the queue must not be empty. | |
Friends | |
| class | QueueingExecutor |
Every outstanding order, oldest first: a view over the queue, valid until the queue changes.
Iterated, counted (size, empty) and read from the front (front); it holds no copy of any order.
Definition at line 293 of file engine.hpp.
|
inlinenoexcept |
Returns the oldest outstanding order's position.
Definition at line 380 of file engine.hpp.
Referenced by front().
|
inlinenoexcept |
Returns whether no order is outstanding.
Definition at line 401 of file engine.hpp.
|
inlinenoexcept |
Returns the position past the newest.
Definition at line 387 of file engine.hpp.
|
inlinenoexcept |
Returns the oldest outstanding order; the queue must not be empty.
Definition at line 408 of file engine.hpp.
|
inlinenoexcept |
Returns how many orders are outstanding.
Definition at line 394 of file engine.hpp.
|
friend |
Definition at line 413 of file engine.hpp.