wickra 0.1.3 → 0.2.1

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
@@ -1,4 +1,4 @@
1
- # @wickra/wickra
1
+ # wickra
2
2
 
3
3
  Node.js bindings for the Wickra streaming-first technical indicators library.
4
4
 
@@ -7,7 +7,7 @@ Node.js bindings for the Wickra streaming-first technical indicators library.
7
7
  Once published, install per platform via the precompiled native package:
8
8
 
9
9
  ```bash
10
- npm install @wickra/wickra
10
+ npm install wickra
11
11
  ```
12
12
 
13
13
  ## Build from source
@@ -26,7 +26,7 @@ produces a `wickra.<platform>-<arch>.node` binary in the package root that
26
26
  ## Usage
27
27
 
28
28
  ```js
29
- import { SMA, RSI, MACD, version } from '@wickra/wickra';
29
+ import { SMA, RSI, MACD, version } from 'wickra';
30
30
 
31
31
  console.log('wickra', version());
32
32
 
package/index.js CHANGED
@@ -310,7 +310,7 @@ if (!nativeBinding) {
310
310
  throw new Error(`Failed to load native binding`)
311
311
  }
312
312
 
313
- const { version, SMA, EMA, WMA, RSI, DEMA, TEMA, HMA, ROC, TRIX, MACD, BollingerBands, ATR, Stochastic, OBV, ADX, CCI, WilliamsR, MFI, PSAR, Keltner, Donchian, VWAP, AwesomeOscillator, Aroon, KAMA } = nativeBinding
313
+ const { version, SMA, EMA, WMA, RSI, DEMA, TEMA, HMA, ROC, TRIX, SMMA, TRIMA, ZLEMA, MOM, CMO, DPO, StdDev, UlcerIndex, VerticalHorizontalFilter, ZScore, MACD, BollingerBands, ATR, Stochastic, OBV, ADX, CCI, WilliamsR, MFI, PSAR, Keltner, Donchian, VWAP, RollingVWAP, AwesomeOscillator, Aroon, KAMA, T3, TSI, PMO, ADL, VolumePriceTrend, ChaikinMoneyFlow, ChaikinOscillator, ForceIndex, EaseOfMovement, SuperTrend, ChandelierExit, ChandeKrollStop, AtrTrailingStop, TypicalPrice, MedianPrice, WeightedClose, LinearRegression, LinRegSlope, AcceleratorOscillator, BalanceOfPower, ChoppinessIndex, TrueRange, ChaikinVolatility, LinRegAngle, BollingerBandwidth, PercentB, NATR, HistoricalVolatility, AroonOscillator, Vortex, MassIndex, StochRSI, UltimateOscillator, PPO, Coppock, VWMA } = nativeBinding
314
314
 
315
315
  module.exports.version = version
316
316
  module.exports.SMA = SMA
@@ -322,6 +322,16 @@ module.exports.TEMA = TEMA
322
322
  module.exports.HMA = HMA
323
323
  module.exports.ROC = ROC
324
324
  module.exports.TRIX = TRIX
325
+ module.exports.SMMA = SMMA
326
+ module.exports.TRIMA = TRIMA
327
+ module.exports.ZLEMA = ZLEMA
328
+ module.exports.MOM = MOM
329
+ module.exports.CMO = CMO
330
+ module.exports.DPO = DPO
331
+ module.exports.StdDev = StdDev
332
+ module.exports.UlcerIndex = UlcerIndex
333
+ module.exports.VerticalHorizontalFilter = VerticalHorizontalFilter
334
+ module.exports.ZScore = ZScore
325
335
  module.exports.MACD = MACD
326
336
  module.exports.BollingerBands = BollingerBands
327
337
  module.exports.ATR = ATR
@@ -335,6 +345,43 @@ module.exports.PSAR = PSAR
335
345
  module.exports.Keltner = Keltner
336
346
  module.exports.Donchian = Donchian
337
347
  module.exports.VWAP = VWAP
348
+ module.exports.RollingVWAP = RollingVWAP
338
349
  module.exports.AwesomeOscillator = AwesomeOscillator
339
350
  module.exports.Aroon = Aroon
340
351
  module.exports.KAMA = KAMA
352
+ module.exports.T3 = T3
353
+ module.exports.TSI = TSI
354
+ module.exports.PMO = PMO
355
+ module.exports.ADL = ADL
356
+ module.exports.VolumePriceTrend = VolumePriceTrend
357
+ module.exports.ChaikinMoneyFlow = ChaikinMoneyFlow
358
+ module.exports.ChaikinOscillator = ChaikinOscillator
359
+ module.exports.ForceIndex = ForceIndex
360
+ module.exports.EaseOfMovement = EaseOfMovement
361
+ module.exports.SuperTrend = SuperTrend
362
+ module.exports.ChandelierExit = ChandelierExit
363
+ module.exports.ChandeKrollStop = ChandeKrollStop
364
+ module.exports.AtrTrailingStop = AtrTrailingStop
365
+ module.exports.TypicalPrice = TypicalPrice
366
+ module.exports.MedianPrice = MedianPrice
367
+ module.exports.WeightedClose = WeightedClose
368
+ module.exports.LinearRegression = LinearRegression
369
+ module.exports.LinRegSlope = LinRegSlope
370
+ module.exports.AcceleratorOscillator = AcceleratorOscillator
371
+ module.exports.BalanceOfPower = BalanceOfPower
372
+ module.exports.ChoppinessIndex = ChoppinessIndex
373
+ module.exports.TrueRange = TrueRange
374
+ module.exports.ChaikinVolatility = ChaikinVolatility
375
+ module.exports.LinRegAngle = LinRegAngle
376
+ module.exports.BollingerBandwidth = BollingerBandwidth
377
+ module.exports.PercentB = PercentB
378
+ module.exports.NATR = NATR
379
+ module.exports.HistoricalVolatility = HistoricalVolatility
380
+ module.exports.AroonOscillator = AroonOscillator
381
+ module.exports.Vortex = Vortex
382
+ module.exports.MassIndex = MassIndex
383
+ module.exports.StochRSI = StochRSI
384
+ module.exports.UltimateOscillator = UltimateOscillator
385
+ module.exports.PPO = PPO
386
+ module.exports.Coppock = Coppock
387
+ module.exports.VWMA = VWMA
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "wickra-darwin-arm64",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Native binding for wickra (macOS Apple Silicon). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.darwin-arm64.node",
6
6
  "files": [
7
7
  "wickra.darwin-arm64.node"
8
8
  ],
9
- "license": "SEE LICENSE IN LICENSE",
9
+ "license": "PolyForm-Noncommercial-1.0.0",
10
10
  "engines": {
11
- "node": ">= 16"
11
+ "node": ">= 18"
12
12
  },
13
13
  "os": [
14
14
  "darwin"
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "wickra-darwin-x64",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Native binding for wickra (macOS Intel). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.darwin-x64.node",
6
6
  "files": [
7
7
  "wickra.darwin-x64.node"
8
8
  ],
9
- "license": "SEE LICENSE IN LICENSE",
9
+ "license": "PolyForm-Noncommercial-1.0.0",
10
10
  "engines": {
11
- "node": ">= 16"
11
+ "node": ">= 18"
12
12
  },
13
13
  "os": [
14
14
  "darwin"
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "wickra-linux-arm64-gnu",
3
+ "version": "0.2.1",
4
+ "description": "Native binding for wickra (linux arm64 GNU). Installed automatically as an optional dependency of wickra on matching platforms.",
5
+ "main": "wickra.linux-arm64-gnu.node",
6
+ "files": [
7
+ "wickra.linux-arm64-gnu.node"
8
+ ],
9
+ "license": "PolyForm-Noncommercial-1.0.0",
10
+ "engines": {
11
+ "node": ">= 18"
12
+ },
13
+ "os": [
14
+ "linux"
15
+ ],
16
+ "cpu": [
17
+ "arm64"
18
+ ],
19
+ "libc": [
20
+ "glibc"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/kingchenc/wickra"
25
+ },
26
+ "homepage": "https://github.com/kingchenc/wickra"
27
+ }
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "wickra-linux-x64-gnu",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Native binding for wickra (linux x64 GNU). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.linux-x64-gnu.node",
6
6
  "files": [
7
7
  "wickra.linux-x64-gnu.node"
8
8
  ],
9
- "license": "SEE LICENSE IN LICENSE",
9
+ "license": "PolyForm-Noncommercial-1.0.0",
10
10
  "engines": {
11
- "node": ">= 16"
11
+ "node": ">= 18"
12
12
  },
13
13
  "os": [
14
14
  "linux"
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "wickra-win32-x64-msvc",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Native binding for wickra (Windows x64 MSVC). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.win32-x64-msvc.node",
6
6
  "files": [
7
7
  "wickra.win32-x64-msvc.node"
8
8
  ],
9
- "license": "SEE LICENSE IN LICENSE",
9
+ "license": "PolyForm-Noncommercial-1.0.0",
10
10
  "engines": {
11
- "node": ">= 16"
11
+ "node": ">= 18"
12
12
  },
13
13
  "os": [
14
14
  "win32"
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "wickra",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Streaming-first technical indicators: incremental, fast, install-free. Node bindings powered by Rust.",
5
5
  "author": "kingchenc <kingchencp@gmail.com>",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
- "license": "SEE LICENSE IN LICENSE",
8
+ "license": "PolyForm-Noncommercial-1.0.0",
9
9
  "keywords": [
10
10
  "trading",
11
11
  "indicators",
@@ -35,6 +35,7 @@
35
35
  "defaults": false,
36
36
  "additional": [
37
37
  "x86_64-unknown-linux-gnu",
38
+ "aarch64-unknown-linux-gnu",
38
39
  "x86_64-apple-darwin",
39
40
  "aarch64-apple-darwin",
40
41
  "x86_64-pc-windows-msvc"
@@ -42,13 +43,14 @@
42
43
  }
43
44
  },
44
45
  "engines": {
45
- "node": ">= 16"
46
+ "node": ">= 18"
46
47
  },
47
48
  "optionalDependencies": {
48
- "wickra-linux-x64-gnu": "0.1.3",
49
- "wickra-darwin-x64": "0.1.3",
50
- "wickra-darwin-arm64": "0.1.3",
51
- "wickra-win32-x64-msvc": "0.1.3"
49
+ "wickra-linux-x64-gnu": "0.2.1",
50
+ "wickra-linux-arm64-gnu": "0.2.1",
51
+ "wickra-darwin-x64": "0.2.1",
52
+ "wickra-darwin-arm64": "0.2.1",
53
+ "wickra-win32-x64-msvc": "0.2.1"
52
54
  },
53
55
  "scripts": {
54
56
  "build": "napi build --platform --release",
Binary file
Binary file
Binary file
Binary file
Binary file