|
PineForge v0.13.1-379-g9b50973
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 679 of file pineforge.h.
| uint64_t pf_stream_order_action_t::sequence |
Definition at line 680 of file pineforge.h.
| int64_t pf_stream_order_action_t::timestamp_ms |
Definition at line 681 of file pineforge.h.
| int32_t pf_stream_order_action_t::bar_index |
Definition at line 682 of file pineforge.h.
| int32_t pf_stream_order_action_t::is_entry |
Definition at line 683 of file pineforge.h.
| int32_t pf_stream_order_action_t::is_long |
Definition at line 684 of file pineforge.h.
| double pf_stream_order_action_t::quantity |
Definition at line 685 of file pineforge.h.
| double pf_stream_order_action_t::price |
Definition at line 686 of file pineforge.h.
| const char* pf_stream_order_action_t::order_id |
Definition at line 687 of file pineforge.h.
| const char* pf_stream_order_action_t::comment |
Definition at line 688 of file pineforge.h.
| uint64_t pf_stream_order_action_t::entry_incarnation |
Definition at line 689 of file pineforge.h.