PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_order::native_order_v7::SubmitResult Struct Reference

What submit answers. More...

#include <native_order.hpp>

Data Fields

SubmitStatus status = SubmitStatus::Rejected
 
uint64_t event_ordinal = 0
 
std::optional< RequestHandle > handle
 
std::optional< RequestRejectReason > reason
 

Detailed Description

What submit answers.

Accepted carries a timeline ordinal and a RequestHandle (session, run, incarnation); Rejected carries a rejection ordinal, no handle and a reason. Acceptance is not a fill: no lot, no cash and no fee moves here, and the ordinary fill appears later as an ExecutionAppliedEvent on the same command history.

Definition at line 844 of file native_order.hpp.

Field Documentation

◆ status

SubmitStatus pineforge::native_order::native_order_v7::SubmitResult::status = SubmitStatus::Rejected

Definition at line 845 of file native_order.hpp.

◆ event_ordinal

uint64_t pineforge::native_order::native_order_v7::SubmitResult::event_ordinal = 0

Definition at line 846 of file native_order.hpp.

◆ handle

std::optional<RequestHandle> pineforge::native_order::native_order_v7::SubmitResult::handle

Definition at line 847 of file native_order.hpp.

◆ reason

std::optional<RequestRejectReason> pineforge::native_order::native_order_v7::SubmitResult::reason

Definition at line 848 of file native_order.hpp.


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