pinets 0.9.25 → 0.9.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -153,6 +153,7 @@ export interface StrategyState {
153
153
  grossprofit: number;
154
154
  grossloss: number;
155
155
  openprofit: number;
156
+ cagr: number;
156
157
  max_drawdown: number;
157
158
  max_runup: number;
158
159
  equity_peak: number;
@@ -163,6 +164,10 @@ export interface StrategyState {
163
164
  max_runup_percent_value: number;
164
165
  sharpe_ratio: number;
165
166
  sortino_ratio: number;
167
+ buy_and_hold_pnl: number;
168
+ buy_and_hold_per_gain: number;
169
+ strategy_outperformance: number;
170
+ _first_entry_price?: number;
166
171
  _monthly_equity?: number[];
167
172
  _last_month_key?: number;
168
173
  wintrades: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinets",
3
- "version": "0.9.25",
3
+ "version": "0.9.27",
4
4
  "description": "Run Pine Script anywhere. PineTS is an open-source transpiler and runtime that brings Pine Script logic to Node.js and the browser with 1:1 syntax compatibility. Reliably write, port, and run indicators or strategies on your own infrastructure.",
5
5
  "keywords": [
6
6
  "Pine Script",