|
OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
|
Iterator over filled orders (strategy order fills) on a single bar. More...
#include <filled_orders.hpp>
Public Member Functions | |
| FilledOrdersIterator (ffi::FilledOrdersIterator *p) | |
| Constructs an iterator from the C ABI handle. | |
| bool | next (FilledOrder &out) |
| Advances to the next filled order and writes it into out. | |
Iterator over filled orders (strategy order fills) on a single bar.
Wraps the opaque iterator from the C ABI and frees it on destruction.
Definition at line 51 of file filled_orders.hpp.
|
inlineexplicit |
Constructs an iterator from the C ABI handle.
| p | Opaque iterator from chartFilledOrdersOnBar. |
Definition at line 62 of file filled_orders.hpp.
|
inline |
Advances to the next filled order and writes it into out.
| out | FilledOrder to fill; orderId() view valid until next call. |
Definition at line 70 of file filled_orders.hpp.