|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | pf_live_parser_event_v1_t |
Macros | |
| #define | PF_LIVE_PARSER_ABI_VERSION 1u |
| #define | PF_LIVE_PARSER_MAX_MESSAGE_BYTES (1024u * 1024u) |
| #define | PF_LIVE_PARSER_MAX_EVENTS 1024u |
| #define | PF_LIVE_PARSER_MAX_OUTPUT_BYTES (1024u * 1024u) |
| #define | PF_LIVE_PARSER_API |
Typedefs | |
| typedef int(* | pf_live_parser_emit_v1_fn) (const pf_live_parser_event_v1_t *event, void *user) |
Enumerations | |
| enum | pf_live_parser_event_kind { PF_LIVE_PARSER_TICK = 1 , PF_LIVE_PARSER_BAR = 2 , PF_LIVE_PARSER_TIME = 3 } |
Functions | |
| PF_LIVE_PARSER_API uint32_t | pf_live_parser_abi_version (void) |
| PF_LIVE_PARSER_API int | pf_live_parse_message (const char *message, size_t message_size, const char *config_json, size_t config_size, pf_live_parser_emit_v1_fn emit, void *user) |
| #define PF_LIVE_PARSER_ABI_VERSION 1u |
Definition at line 8 of file live_parser.h.
| #define PF_LIVE_PARSER_MAX_MESSAGE_BYTES (1024u * 1024u) |
Definition at line 9 of file live_parser.h.
| #define PF_LIVE_PARSER_MAX_EVENTS 1024u |
Definition at line 10 of file live_parser.h.
| #define PF_LIVE_PARSER_MAX_OUTPUT_BYTES (1024u * 1024u) |
Definition at line 11 of file live_parser.h.
| #define PF_LIVE_PARSER_API |
Definition at line 18 of file live_parser.h.
Referenced by pf_live_parse_message(), and pf_live_parser_abi_version().
| typedef int(* pf_live_parser_emit_v1_fn) (const pf_live_parser_event_v1_t *event, void *user) |
Definition at line 65 of file live_parser.h.
| Enumerator | |
|---|---|
| PF_LIVE_PARSER_TICK | |
| PF_LIVE_PARSER_BAR | |
| PF_LIVE_PARSER_TIME | |
Definition at line 25 of file live_parser.h.
| PF_LIVE_PARSER_API uint32_t pf_live_parser_abi_version | ( | void | ) |
References PF_LIVE_PARSER_API.
| PF_LIVE_PARSER_API int pf_live_parse_message | ( | const char * | message, |
| size_t | message_size, | ||
| const char * | config_json, | ||
| size_t | config_size, | ||
| pf_live_parser_emit_v1_fn | emit, | ||
| void * | user ) |
References PF_LIVE_PARSER_API.