pinets 0.9.26 → 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.
@@ -164,6 +164,10 @@ export interface StrategyState {
164
164
  max_runup_percent_value: number;
165
165
  sharpe_ratio: number;
166
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;
167
171
  _monthly_equity?: number[];
168
172
  _last_month_key?: number;
169
173
  wintrades: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinets",
3
- "version": "0.9.26",
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",