PineForge v0.10.1-13-gd771a78
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pf_equity_point_t Struct 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.
 

Detailed Description

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.

Field Documentation

◆ time_ms

int64_t pf_equity_point_t::time_ms

Script-bar OPEN timestamp (Unix ms).

Definition at line 258 of file pineforge.h.

◆ equity

double pf_equity_point_t::equity

initial_capital + net_profit + open_profit.

Definition at line 259 of file pineforge.h.

◆ open_profit

double pf_equity_point_t::open_profit

Mark-to-market open P&L at bar close.

Definition at line 260 of file pineforge.h.


The documentation for this struct was generated from the following file: