PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_toolkit::native_toolkit_v1::BracketReceipt Struct 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
 

Detailed Description

Definition at line 104 of file native_toolkit.hpp.

Member Function Documentation

◆ outcome()

◆ every_requested_leg_accepted()

Field Documentation

◆ parent

native_order::RequestHandle pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::parent

Definition at line 105 of file native_toolkit.hpp.

◆ take_profit

std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::take_profit

Definition at line 106 of file native_toolkit.hpp.

◆ stop_loss

std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::stop_loss

Definition at line 107 of file native_toolkit.hpp.

◆ trail

std::optional<native_order::RequestHandle> pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::trail

Definition at line 108 of file native_toolkit.hpp.

◆ take_profit_outcome

BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::take_profit_outcome

Definition at line 109 of file native_toolkit.hpp.

Referenced by outcome().

◆ stop_loss_outcome

BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::stop_loss_outcome

Definition at line 110 of file native_toolkit.hpp.

Referenced by outcome().

◆ trail_outcome

BracketLegOutcome pineforge::native_toolkit::native_toolkit_v1::BracketReceipt::trail_outcome

Definition at line 111 of file native_toolkit.hpp.

Referenced by outcome().


The documentation for this struct was generated from the following file: