![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
What a journal showed was left owed by the process that wrote it. More...
#include <algotradelib/src/runner/reconcile_orders.hpp>
Public Member Functions | |
| bool | clean () const noexcept |
| Tests whether nothing was owed or damaged. | |
Public Attributes | |
| std::vector< InstrumentId > | marked_ |
| Instruments marked in the ledger, withheld until the order list resolves them. | |
| std::vector< OpenInstruction > | open_ |
| The instructions of unknown outcome. | |
| bool | truncated_ {false} |
| Whether the last line was torn. | |
| bool | unattributable_ {false} |
| Whether something was in flight that names no instrument (a torn line too short to name one); recover_runner halts the runner for it. | |
| std::size_t | unreadable_lines_ {0} |
| Complete lines that did not parse. | |
| bool | unreadable_file_ {false} |
| Whether the journal exists and could not be read; it may hold orders left in flight. | |
| std::string | detail_ |
| What was found, for the operator. | |
What a journal showed was left owed by the process that wrote it.
Definition at line 1251 of file reconcile_orders.hpp.
|
inlinenoexcept |
Tests whether nothing was owed or damaged.
Definition at line 1274 of file reconcile_orders.hpp.
Referenced by live_program::print_recovery().
| std::string algotradelib::runner::RecoveryReport::detail_ |
What was found, for the operator.
Definition at line 1268 of file reconcile_orders.hpp.
Referenced by live_program::print_recovery(), and algotradelib::runner::recover_into().
| std::vector<InstrumentId> algotradelib::runner::RecoveryReport::marked_ |
Instruments marked in the ledger, withheld until the order list resolves them.
Definition at line 1253 of file reconcile_orders.hpp.
Referenced by clean(), live_program::print_recovery(), and algotradelib::runner::recover_into().
| std::vector<OpenInstruction> algotradelib::runner::RecoveryReport::open_ |
The instructions of unknown outcome.
Definition at line 1255 of file reconcile_orders.hpp.
Referenced by algotradelib::runner::recover_into().
| bool algotradelib::runner::RecoveryReport::truncated_ {false} |
Whether the last line was torn.
Definition at line 1257 of file reconcile_orders.hpp.
Referenced by clean(), live_program::print_recovery(), and algotradelib::runner::recover_into().
| bool algotradelib::runner::RecoveryReport::unattributable_ {false} |
Whether something was in flight that names no instrument (a torn line too short to name one); recover_runner halts the runner for it.
Definition at line 1262 of file reconcile_orders.hpp.
Referenced by clean(), live_program::print_recovery(), and algotradelib::runner::recover_into().
| bool algotradelib::runner::RecoveryReport::unreadable_file_ {false} |
Whether the journal exists and could not be read; it may hold orders left in flight.
Definition at line 1266 of file reconcile_orders.hpp.
Referenced by clean(), live_program::print_recovery(), and algotradelib::runner::recover_into().
| std::size_t algotradelib::runner::RecoveryReport::unreadable_lines_ {0} |
Complete lines that did not parse.
Definition at line 1264 of file reconcile_orders.hpp.
Referenced by clean(), live_program::print_recovery(), and algotradelib::runner::recover_into().