qntjs-lib 2.0.0 → 2.0.2

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.
package/README.md CHANGED
@@ -118,7 +118,7 @@ const filled = arr.ffill(a);
118
118
 
119
119
  - **`ta.*`** : `dema`, `ema`, `hma`, `kama`, `sma`, `wma`, `vwma`, `trima`, `t3`, `tema`, `rma`, `ao`, `apo`, `aroon`, `change`, `cmo`, `kst`, `macd`, `mom`, `ppo`, `roc`, `rsi`, `stoch`, `stochrsi`, `ultosc`, `wpr`, `supertrend`, `adx`, `adxr`, `dx`, `cci`, `di`, `dpo`, `ichimoku`, `psar`, `atr`, `tr`, `natr`, `bb`, `bbw`, `donchian`, `keltner`, `adosc`, `obv`, `pnvi`, `wad`, `ad`, `mfi`, `cross`, `crossover`, `crossunder`, `rising`, `falling`
120
120
 
121
- - **`perf.*`** : `returns`, `logreturns`, `cumreturns`, `cagr`, `dailyReturns`, `dd`, `maxdd`, `maxddDetails`, `dduration`, `rollmaxdd`, `recoveryFactor`, `calmarRatio`, `ulcerIndex`, `rollUlcerIndex`, `sharpe`, `sortino`, `rollsharpe`, `rollsortino`, `vol`, `rollvol`, `valueAtRisk`, `expectedShortfall`, `tailRatio`, `omegaRatio`
121
+ - **`perf.*`** : `returns`, `logreturns`, `cumreturns`, `cagr`, `dailyreturns`, `dd`, `maxdd`, `maxddDetails`, `dduration`, `rollmaxdd`, `recoveryfactor`, `calmar`, `ulcer`, `rollulcer`, `sharpe`, `sortino`, `rollsharpe`, `rollsortino`, `vol`, `rollvol`, `var` (`valueAtRisk`), `expshortfall`, `tail`, `omega`
122
122
 
123
123
 
124
124
  ## skipna and dense fast-path
@@ -216,7 +216,7 @@ function pt(t, n) {
216
216
  return o;
217
217
  }
218
218
  function V() {
219
- return typeof process > "u" || typeof process.env > "u" ? !1 : process?.env?.SKIP_DENSE_OPTIMIZATION === "true";
219
+ return typeof process > "u" || typeof process.env > "u" ? !1 : process.env.SKIP_DENSE_OPTIMIZATION === "true";
220
220
  }
221
221
  function wt(t, n, l, o = !0) {
222
222
  if (n <= 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qntjs-lib",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/bundle/index.js",
6
6
  "types": "./dist/index.d.ts",