![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
Chains the drawn returns: a path price is the path's previous close times value / from. More...
#include <algotradelib/src/backtest/bootstrap.hpp>
Public Member Functions | |
| double | join (double level, double from, double value) const |
| Returns the path's price for a drawn price. | |
Chains the drawn returns: a path price is the path's previous close times value / from.
Definition at line 164 of file bootstrap.hpp.
|
inline |
Returns the path's price for a drawn price.
| level | The path's previous close, unrounded, in grid units. |
| from | The drawn day's previous close in the history, in grid units; positive. |
| value | The drawn day's price (open, high, low or close), in grid units; positive. |
Definition at line 172 of file bootstrap.hpp.