![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
The time allowances used when matching journalled instructions against a broker listing. More...
#include <algotradelib/src/runner/reconcile_orders.hpp>
Public Attributes | |
| std::chrono::seconds | clock_skew_ {30} |
| How far the broker's clock may differ from this machine's, either way. | |
| std::chrono::seconds | maximum_request_ {60} |
| How long a request could have been in flight when no answering line records its end. | |
| std::chrono::seconds | listing_delay_ {30} |
| How long the broker's listing may lag an order it accepted. | |
The time allowances used when matching journalled instructions against a broker listing.
Too narrow a window reports NOT_PLACED for an order that exists, which is the dangerous error; the defaults are generous.
Definition at line 95 of file reconcile_orders.hpp.
| std::chrono::seconds algotradelib::runner::MatchWindow::clock_skew_ {30} |
How far the broker's clock may differ from this machine's, either way.
Definition at line 97 of file reconcile_orders.hpp.
Referenced by algotradelib::runner::match_window_closed(), and algotradelib::runner::time_evidence().
| std::chrono::seconds algotradelib::runner::MatchWindow::listing_delay_ {30} |
How long the broker's listing may lag an order it accepted.
Definition at line 101 of file reconcile_orders.hpp.
Referenced by algotradelib::runner::match_window_closed().
| std::chrono::seconds algotradelib::runner::MatchWindow::maximum_request_ {60} |
How long a request could have been in flight when no answering line records its end.
Definition at line 99 of file reconcile_orders.hpp.
Referenced by algotradelib::runner::instruction_sent_by().