|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Data Structures | |
| struct | BracketLegOutcome |
| struct | BracketReceipt |
| struct | BracketSpec |
| class | OrderBook |
| struct | OrderBookCancel |
| struct | OrderBookOutcome |
Enumerations | |
| enum class | BracketLeg : std::int64_t { TakeProfit = 1 , StopLoss = 2 , Trail = 3 } |
| enum class | BracketLegState : std::uint8_t { NotRequested = 0 , NotSubmitted = 1 , Accepted = 2 , Rejected = 3 } |
| enum class | OrderBookAction : std::uint8_t { Replaced = 0 , ReplaceRejected = 1 , SubmitAccepted = 2 , SubmitRejected = 3 } |
Functions | |
| native_order::Request | bracket_leg (const native_order::Request &leg, const native_order::RequestHandle &parent, BracketLeg which, native_order::GroupEffect sibling_effect, native_order::NativeArmVisibility visibility=native_order::NativeArmVisibility::Working, std::optional< native_order::NativeAnchorRounding > anchor_rounding=std::nullopt) |
| BracketReceipt | submit_bracket (NativeStrategyHost &host, const BracketSpec &spec) |
|
strong |
| Enumerator | |
|---|---|
| TakeProfit | |
| StopLoss | |
| Trail | |
Definition at line 48 of file native_toolkit.hpp.
|
strong |
| Enumerator | |
|---|---|
| NotRequested | |
| NotSubmitted | |
| Accepted | |
| Rejected | |
Definition at line 64 of file native_toolkit.hpp.
|
strong |
| Enumerator | |
|---|---|
| Replaced | |
| ReplaceRejected | |
| SubmitAccepted | |
| SubmitRejected | |
Definition at line 208 of file native_toolkit.hpp.
|
inline |
Definition at line 138 of file native_toolkit.hpp.
|
inline |
Definition at line 160 of file native_toolkit.hpp.