|
PineForge v0.10.1-13-gd771a78
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Single per-script-bar equity point. More...
#include <pineforge.h>
Data Fields | |
| int64_t | time_ms |
| Script-bar OPEN timestamp (Unix ms). | |
| double | equity |
| initial_capital + net_profit + open_profit. | |
| double | open_profit |
| Mark-to-market open P&L at bar close. | |
Single per-script-bar equity point.
time_ms is the script-bar open timestamp (Unix ms). equity = initial_capital + net_profit + open_profit at bar close.
Definition at line 257 of file pineforge.h.
| int64_t pf_equity_point_t::time_ms |
Script-bar OPEN timestamp (Unix ms).
Definition at line 258 of file pineforge.h.
| double pf_equity_point_t::equity |
initial_capital + net_profit + open_profit.
Definition at line 259 of file pineforge.h.
| double pf_equity_point_t::open_profit |
Mark-to-market open P&L at bar close.
Definition at line 260 of file pineforge.h.