|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <native_toolkit.hpp>
Public Member Functions | |
| const BracketLegOutcome & | outcome (BracketLeg which) const noexcept |
| bool | every_requested_leg_accepted () const noexcept |
Data Fields | |
| native_order::RequestHandle | parent |
| std::optional< native_order::RequestHandle > | take_profit |
| std::optional< native_order::RequestHandle > | stop_loss |
| std::optional< native_order::RequestHandle > | trail |
| BracketLegOutcome | take_profit_outcome |
| BracketLegOutcome | stop_loss_outcome |
| BracketLegOutcome | trail_outcome |
Definition at line 104 of file native_toolkit.hpp.
|
inlinenoexcept |
Definition at line 113 of file native_toolkit.hpp.
References stop_loss_outcome, pineforge::native_toolkit::native_toolkit_v1::StopLoss, take_profit_outcome, pineforge::native_toolkit::native_toolkit_v1::TakeProfit, pineforge::native_toolkit::native_toolkit_v1::Trail, and trail_outcome.
Referenced by every_requested_leg_accepted().
|
inlinenoexcept |
Definition at line 125 of file native_toolkit.hpp.
References pineforge::native_toolkit::native_toolkit_v1::BracketLegOutcome::accepted(), outcome(), pineforge::native_toolkit::native_toolkit_v1::BracketLegOutcome::requested(), pineforge::native_toolkit::native_toolkit_v1::StopLoss, pineforge::native_toolkit::native_toolkit_v1::TakeProfit, and pineforge::native_toolkit::native_toolkit_v1::Trail.
| native_order::RequestHandle pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::parent |
Definition at line 105 of file native_toolkit.hpp.
| std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::take_profit |
Definition at line 106 of file native_toolkit.hpp.
| std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::stop_loss |
Definition at line 107 of file native_toolkit.hpp.
| std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::trail |
Definition at line 108 of file native_toolkit.hpp.
| BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::take_profit_outcome |
Definition at line 109 of file native_toolkit.hpp.
Referenced by outcome().
| BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::stop_loss_outcome |
Definition at line 110 of file native_toolkit.hpp.
Referenced by outcome().
| BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::trail_outcome |
Definition at line 111 of file native_toolkit.hpp.
Referenced by outcome().