PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
order_birth.cpp
Go to the documentation of this file.
2
4
6 bool requested_trailing_exit) noexcept {
7 if (!birth.from_fill() || first_open_fill_evaluation(birth))
9 const bool later_open_trailing_exit = birth.cursor().domain()
11 && birth.cursor().first_point() && requested_trailing_exit;
12 return later_open_trailing_exit ? HistoricalBirthReach::Standard
14}
15
16} // namespace pineforge::compat::pine
bool first_open_fill_evaluation(const OrderBirth &birth) noexcept
HistoricalBirthReach select_historical_birth_reach(const OrderBirth &birth, bool requested_trailing_exit) noexcept