wickra 0.2.5 → 0.2.7
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 +13 -13
- package/npm/darwin-arm64/package.json +1 -1
- package/npm/darwin-arm64/wickra.darwin-arm64.node +0 -0
- package/npm/darwin-x64/package.json +1 -1
- package/npm/darwin-x64/wickra.darwin-x64.node +0 -0
- package/npm/linux-arm64-gnu/package.json +1 -1
- package/npm/linux-arm64-gnu/wickra.linux-arm64-gnu.node +0 -0
- package/npm/linux-x64-gnu/package.json +1 -1
- package/npm/linux-x64-gnu/wickra.linux-x64-gnu.node +0 -0
- package/npm/win32-arm64-msvc/package.json +24 -0
- package/npm/win32-arm64-msvc/wickra.win32-arm64-msvc.node +0 -0
- package/npm/win32-x64-msvc/package.json +1 -1
- package/npm/win32-x64-msvc/wickra.win32-x64-msvc.node +0 -0
- package/package.json +9 -7
- package/wickra.darwin-arm64.node +0 -0
- package/wickra.darwin-x64.node +0 -0
- package/wickra.linux-arm64-gnu.node +0 -0
- package/wickra.linux-x64-gnu.node +0 -0
- package/wickra.win32-arm64-msvc.node +0 -0
- package/wickra.win32-x64-msvc.node +0 -0
package/README.md
CHANGED
|
@@ -36,16 +36,16 @@ for price in live_feed:
|
|
|
36
36
|
The Python TA ecosystem has plenty of libraries — TA-Lib, pandas-ta, finta,
|
|
37
37
|
talipp, tulipy — and every one of them shares the same blind spot:
|
|
38
38
|
|
|
39
|
-
| Library
|
|
40
|
-
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
39
|
+
| Library | Install pain | Streaming | Multi-language | Active |
|
|
40
|
+
|------------------------|-----------------|-----------|----------------|--------|
|
|
41
|
+
| **★ Wickra** | **clean** | **yes** | **Python + Node + WASM + Rust** | **yes** |
|
|
42
|
+
| TA-Lib (Python) | yes (C deps) | no | no | barely |
|
|
43
|
+
| pandas-ta | clean | no | no | slow |
|
|
44
|
+
| finta | clean | no | no | stale |
|
|
45
|
+
| ta-lib-python | yes (C deps) | no | no | barely |
|
|
46
|
+
| talipp | clean | yes | no | yes |
|
|
47
|
+
| Tulip Indicators | yes (C deps) | no | partial | stale |
|
|
48
|
+
| ooples (C#) | clean | no | C# only | yes |
|
|
49
49
|
|
|
50
50
|
Wickra is the only library that combines all of: clean install, streaming,
|
|
51
51
|
multi-language reach, and active maintenance.
|
|
@@ -58,7 +58,7 @@ depend on CPU, memory clock and OS scheduler. Read them as **relative
|
|
|
58
58
|
speedups** between libraries on identical input, not as a universal
|
|
59
59
|
performance contract.
|
|
60
60
|
|
|
61
|
-
- **Reproduced on:** Windows 11 Pro 26200, AMD Ryzen 9
|
|
61
|
+
- **Reproduced on:** Windows 11 Pro 26200, AMD Ryzen 9 9950X, 64 GB DDR5,
|
|
62
62
|
Rust 1.92 (release profile, `lto = "fat"`, `codegen-units = 1`),
|
|
63
63
|
Python 3.12, Node 20.
|
|
64
64
|
- **Reproduce yourself:** `pip install -e bindings/python[bench]` then
|
|
@@ -76,7 +76,7 @@ to recompute on every tick.
|
|
|
76
76
|
Reading the table: each cell shows that library's runtime, plus how many times
|
|
77
77
|
slower it is than Wickra in parentheses. **★** marks the winner per row.
|
|
78
78
|
|
|
79
|
-
| Indicator | Wickra
|
|
79
|
+
| Indicator | **★ Wickra** | finta | talipp |
|
|
80
80
|
|---------------------|---------------------|-----------------------------|-------------------------------|
|
|
81
81
|
| SMA(20) | **95.6 µs ★** | 343.5 µs (3.6× slower) | 7 640.6 µs (79.9× slower) |
|
|
82
82
|
| EMA(20) | **64.6 µs ★** | 223.1 µs (3.5× slower) | 12 160.9 µs (188.2× slower) |
|
|
@@ -90,7 +90,7 @@ slower it is than Wickra in parentheses. **★** marks the winner per row.
|
|
|
90
90
|
A batch-only library has to re-run its full indicator over the entire history on
|
|
91
91
|
every new tick; Wickra updates state in O(1).
|
|
92
92
|
|
|
93
|
-
| Indicator | Wickra (per tick)
|
|
93
|
+
| Indicator | **★ Wickra (per tick)** | talipp (per tick) |
|
|
94
94
|
|-----------|---------------------|---------------------------|
|
|
95
95
|
| RSI(14) | **0.119 µs ★** | 1.644 µs (13.8× slower) |
|
|
96
96
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra-darwin-arm64",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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": [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra-darwin-x64",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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": [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra-linux-arm64-gnu",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Native binding for wickra (linux arm64 GNU). Installed automatically as an optional dependency of wickra on matching platforms.",
|
|
5
5
|
"main": "wickra.linux-arm64-gnu.node",
|
|
6
6
|
"files": [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra-linux-x64-gnu",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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": [
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wickra-win32-arm64-msvc",
|
|
3
|
+
"version": "0.2.7",
|
|
4
|
+
"description": "Native binding for wickra (Windows arm64 MSVC). Installed automatically as an optional dependency of wickra on matching platforms.",
|
|
5
|
+
"main": "wickra.win32-arm64-msvc.node",
|
|
6
|
+
"files": [
|
|
7
|
+
"wickra.win32-arm64-msvc.node"
|
|
8
|
+
],
|
|
9
|
+
"license": "PolyForm-Noncommercial-1.0.0",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">= 18"
|
|
12
|
+
},
|
|
13
|
+
"os": [
|
|
14
|
+
"win32"
|
|
15
|
+
],
|
|
16
|
+
"cpu": [
|
|
17
|
+
"arm64"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/kingchenc/wickra"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/kingchenc/wickra"
|
|
24
|
+
}
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra-win32-x64-msvc",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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": [
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickra",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"aarch64-unknown-linux-gnu",
|
|
39
39
|
"x86_64-apple-darwin",
|
|
40
40
|
"aarch64-apple-darwin",
|
|
41
|
-
"x86_64-pc-windows-msvc"
|
|
41
|
+
"x86_64-pc-windows-msvc",
|
|
42
|
+
"aarch64-pc-windows-msvc"
|
|
42
43
|
]
|
|
43
44
|
}
|
|
44
45
|
},
|
|
@@ -46,11 +47,12 @@
|
|
|
46
47
|
"node": ">= 18"
|
|
47
48
|
},
|
|
48
49
|
"optionalDependencies": {
|
|
49
|
-
"wickra-linux-x64-gnu": "0.2.
|
|
50
|
-
"wickra-linux-arm64-gnu": "0.2.
|
|
51
|
-
"wickra-darwin-x64": "0.2.
|
|
52
|
-
"wickra-darwin-arm64": "0.2.
|
|
53
|
-
"wickra-win32-x64-msvc": "0.2.
|
|
50
|
+
"wickra-linux-x64-gnu": "0.2.7",
|
|
51
|
+
"wickra-linux-arm64-gnu": "0.2.7",
|
|
52
|
+
"wickra-darwin-x64": "0.2.7",
|
|
53
|
+
"wickra-darwin-arm64": "0.2.7",
|
|
54
|
+
"wickra-win32-x64-msvc": "0.2.7",
|
|
55
|
+
"wickra-win32-arm64-msvc": "0.2.7"
|
|
54
56
|
},
|
|
55
57
|
"scripts": {
|
|
56
58
|
"build": "napi build --platform --release",
|
package/wickra.darwin-arm64.node
CHANGED
|
Binary file
|
package/wickra.darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|