|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <native_toolkit.hpp>
Public Member Functions | |
| OrderBook (NativeStrategyHost &host) noexcept | |
| std::optional< native_order::RequestHandle > | handle (const Key &key) const |
| bool | contains (const Key &key) const |
| std::size_t | size () const noexcept |
| bool | empty () const noexcept |
| std::optional< native_order::RequestHandle > | submit_or_replace (const Key &key, const native_order::Request &request, native_order::ReplaceOptions options={}) |
| OrderBookOutcome | submit_or_replace_outcome (const Key &key, const native_order::Request &request, native_order::ReplaceOptions options={}) |
| native_order::CancelStatus | cancel (const Key &key) |
| OrderBookCancel | cancel_outcome (const Key &key) |
| void | forget (const Key &key) |
Definition at line 309 of file native_toolkit.hpp.
|
inlineexplicitnoexcept |
Definition at line 311 of file native_toolkit.hpp.
|
inline |
Definition at line 313 of file native_toolkit.hpp.
|
inline |
Definition at line 318 of file native_toolkit.hpp.
|
inlinenoexcept |
Definition at line 319 of file native_toolkit.hpp.
|
inlinenoexcept |
Definition at line 320 of file native_toolkit.hpp.
|
inline |
Definition at line 337 of file native_toolkit.hpp.
|
inline |
Definition at line 348 of file native_toolkit.hpp.
|
inline |
Definition at line 387 of file native_toolkit.hpp.
References cancel_outcome(), and pineforge::native_toolkit::native_toolkit_v1::OrderBookCancel::status().
|
inline |
Definition at line 392 of file native_toolkit.hpp.
References pineforge::native_toolkit::native_toolkit_v1::OrderBookCancel::known, and pineforge::native_toolkit::native_toolkit_v1::OrderBookCancel::result.
Referenced by cancel().
|
inline |
Definition at line 405 of file native_toolkit.hpp.