![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
What NextBarFillModel::decide concluded about one order and one bar. More...
#include <algotradelib/src/backtest/fill.hpp>
Public Attributes | |
| std::optional< Execution > | execution_ |
| The execution, if the order traded against this bar. | |
| bool | still_working_ {false} |
| Whether the order stays queued for a later bar (it did not trade but may still). | |
| std::optional< BrokerError > | costing_error_ |
| Why a fill could not be costed (no commission rate, or a tax that does not fit). | |
| bool | released_ {false} |
| Whether this bar released a dormant stop-limit order (whether or not it also filled). | |
| bool | intrabar_release_fill_ {false} |
| Whether the fill depended on a stop released inside the bar, where the bar cannot show the order of prices; counted by the report. | |
| bool | bounded_ {false} |
| Whether a limit-type fill price was moved to stay within the bar's range and the limit; counted by the report. | |
What NextBarFillModel::decide concluded about one order and one bar.
| bool algotradelib::backtest::FillDecision::bounded_ {false} |
Whether a limit-type fill price was moved to stay within the bar's range and the limit; counted by the report.
Definition at line 50 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().
| std::optional<BrokerError> algotradelib::backtest::FillDecision::costing_error_ |
Why a fill could not be costed (no commission rate, or a tax that does not fit).
Set instead of an execution; the backtest halts rather than dropping the trade.
Definition at line 38 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().
| std::optional<Execution> algotradelib::backtest::FillDecision::execution_ |
The execution, if the order traded against this bar.
Definition at line 30 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().
| bool algotradelib::backtest::FillDecision::intrabar_release_fill_ {false} |
Whether the fill depended on a stop released inside the bar, where the bar cannot show the order of prices; counted by the report.
Definition at line 45 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().
| bool algotradelib::backtest::FillDecision::released_ {false} |
Whether this bar released a dormant stop-limit order (whether or not it also filled).
Definition at line 40 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().
| bool algotradelib::backtest::FillDecision::still_working_ {false} |
Whether the order stays queued for a later bar (it did not trade but may still).
Definition at line 32 of file fill.hpp.
Referenced by algotradelib::backtest::NextBarFillModel::decide().