![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
Joins the drawn prices as they are (Künsch; Politis and Romano): for a stationary series, not trending prices, where each block boundary is a jump. More...
#include <algotradelib/src/backtest/bootstrap.hpp>
Public Member Functions | |
| double | join (double level, double from, double value) const |
| Returns the drawn price. | |
Static Public Attributes | |
| static constexpr bool | any_sign = true |
| Prices at or below zero are joined, not refused. | |
Joins the drawn prices as they are (Künsch; Politis and Romano): for a stationary series, not trending prices, where each block boundary is a jump.
Definition at line 204 of file bootstrap.hpp.
|
inline |
Returns the drawn price.
| level | Unused. |
| from | Unused. |
| value | The drawn day's price, in grid units. |
Definition at line 215 of file bootstrap.hpp.
|
staticconstexpr |
Prices at or below zero are joined, not refused.
Definition at line 206 of file bootstrap.hpp.