|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
One physical emulator lot action. More...
#include <pineforge.h>
Data Fields | |
| uint64_t | sequence |
| int64_t | timestamp_ms |
| int32_t | bar_index |
| int32_t | is_entry |
| int32_t | is_long |
| double | quantity |
| double | price |
| const char * | order_id |
| const char * | comment |
| uint64_t | entry_incarnation |
One physical emulator lot action.
is_long describes the position side: buy = is_entry == is_long. A reversal is exits followed by an entry. price/time are emulator reference values, not external broker fills. Strings are borrowed until the next stream mutation or queue clear.
Definition at line 831 of file pineforge.h.
| uint64_t pf_stream_order_action_t::sequence |
Definition at line 832 of file pineforge.h.
| int64_t pf_stream_order_action_t::timestamp_ms |
Definition at line 833 of file pineforge.h.
| int32_t pf_stream_order_action_t::bar_index |
Definition at line 834 of file pineforge.h.
| int32_t pf_stream_order_action_t::is_entry |
Definition at line 835 of file pineforge.h.
| int32_t pf_stream_order_action_t::is_long |
Definition at line 836 of file pineforge.h.
| double pf_stream_order_action_t::quantity |
Definition at line 837 of file pineforge.h.
| double pf_stream_order_action_t::price |
Definition at line 838 of file pineforge.h.
| const char* pf_stream_order_action_t::order_id |
Definition at line 839 of file pineforge.h.
| const char* pf_stream_order_action_t::comment |
Definition at line 840 of file pineforge.h.
| uint64_t pf_stream_order_action_t::entry_incarnation |
Definition at line 841 of file pineforge.h.