PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome Struct Reference

#include <native_toolkit.hpp>

Public Member Functions

bool bound () const noexcept
 
bool replaced () const noexcept
 
bool refused () const noexcept
 
std::optional< native_order::RequestHandle > handle () const
 
std::optional< native_order::RequestRejectReason > reason () const
 
std::uint64_t event_ordinal () const noexcept
 

Data Fields

OrderBookAction action = OrderBookAction::SubmitRejected
 
std::optional< native_order::ReplaceResult > replace
 
std::optional< native_order::SubmitResult > submit
 

Detailed Description

Definition at line 224 of file native_toolkit.hpp.

Member Function Documentation

◆ bound()

bool pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::bound ( ) const
inlinenoexcept

◆ replaced()

bool pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::replaced ( ) const
inlinenoexcept

◆ refused()

bool pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::refused ( ) const
inlinenoexcept

Definition at line 237 of file native_toolkit.hpp.

References bound().

◆ handle()

std::optional< native_order::RequestHandle > pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::handle ( ) const
inline

◆ reason()

std::optional< native_order::RequestRejectReason > pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::reason ( ) const
inline

◆ event_ordinal()

Field Documentation

◆ action

OrderBookAction pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::action = OrderBookAction::SubmitRejected

Definition at line 225 of file native_toolkit.hpp.

Referenced by bound(), event_ordinal(), handle(), reason(), and replaced().

◆ replace

std::optional<native_order::ReplaceResult> pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::replace

Definition at line 226 of file native_toolkit.hpp.

Referenced by event_ordinal(), handle(), and reason().

◆ submit

std::optional<native_order::SubmitResult> pineforge::native_toolkit::native_toolkit_v1::OrderBookOutcome::submit

Definition at line 227 of file native_toolkit.hpp.

Referenced by event_ordinal(), handle(), and reason().


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