quantwave 0.1.14__py3-none-win_amd64.whl
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.
- quantwave/__init__.py +4 -0
- quantwave/quantwave_python/__init__.py +1 -0
- quantwave/quantwave_python/quantwave_python.dll +0 -0
- quantwave/quantwave_python/quantwave_python.py +4038 -0
- quantwave-0.1.14.dist-info/METADATA +124 -0
- quantwave-0.1.14.dist-info/RECORD +9 -0
- quantwave-0.1.14.dist-info/WHEEL +4 -0
- quantwave-0.1.14.dist-info/licenses/LICENSE +21 -0
- quantwave-0.1.14.dist-info/sboms/quantwave-python.cyclonedx.json +4317 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: quantwave
|
|
3
|
+
Version: 0.1.14
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Programming Language :: Python :: 3
|
|
6
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Summary: High-performance Technical Analysis library (Rust core + UniFFI)
|
|
10
|
+
Keywords: technical-analysis,ta-lib,trading,quant,rust
|
|
11
|
+
Home-Page: https://github.com/lavs9/quantwave
|
|
12
|
+
Author: Mayank Lavania
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
15
|
+
Project-URL: Documentation, https://lavs9.github.io/quantwave/
|
|
16
|
+
Project-URL: Homepage, https://github.com/lavs9/quantwave
|
|
17
|
+
Project-URL: Repository, https://github.com/lavs9/quantwave
|
|
18
|
+
|
|
19
|
+
# QuantWave ๐
|
|
20
|
+
|
|
21
|
+
[](https://deepwiki.com/lavs9/quantwave)
|
|
22
|
+
[](https://www.rust-lang.org)
|
|
23
|
+
[](LICENSE)
|
|
24
|
+
[](https://lavs9.github.io/quantwave/)
|
|
25
|
+
|
|
26
|
+
**High-performance, Polars-native Technical Analysis for Rust.**
|
|
27
|
+
|
|
28
|
+
QuantWave is a modern technical analysis library built from the ground up for the [Polars](https://github.com/pola-rs/polars) ecosystem. It bridges the gap between **high-speed batch backtesting** and **real-time streaming execution** by ensuring bit-identical results across both modes.
|
|
29
|
+
|
|
30
|
+
Whether you are performing quantitative research over terabytes of historical data or deploying a live trading system on a tick-by-tick stream, QuantWave delivers industry-standard accuracy and extreme performance.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## ๐ Why QuantWave?
|
|
35
|
+
|
|
36
|
+
- **Polars Native:** Built specifically for Polars `LazyFrame` and `Series` with zero-copy expression plugins. Say goodbye to converting to/from `Vec<f64>` or `ndarray` to calculate your indicators.
|
|
37
|
+
- **Streaming-Batch Parity:** Every indicator implements the "Universal Indicator" pattern, guaranteeing mathematically identical results for batch (backtesting) and streaming (live trading).
|
|
38
|
+
- **Comprehensive Suite:** Featuring 150+ standard indicators (via robust TA-Lib wrapping) alongside modern DSP suites (Ehlers), ML feature engineering tools, and market structure algorithms.
|
|
39
|
+
- **Bit-Identical Validation:** Sleep well at night. All indicators are rigorously verified against an extensive "Gold Standard" test suite using `proptest` and industry reference vectors.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## ๐ Documentation & Resources
|
|
44
|
+
|
|
45
|
+
For detailed indicator formulas, parameter definitions, and architectural deep-dives, please refer to our official documentation sites:
|
|
46
|
+
|
|
47
|
+
- ๐ **[QuantWave Indicator Bible (mdBook)](https://lavs9.github.io/quantwave/)**: Comprehensive reference for all native and TA-Lib indicators, complete with LaTeX math formulas.
|
|
48
|
+
- ๐ง **[DeepWiki Integration](https://deepwiki.com/lavs9/quantwave)**: Explore our system architecture, decision logs, and agentic workflows.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## ๐ Installation
|
|
53
|
+
|
|
54
|
+
Add QuantWave to your `Cargo.toml`:
|
|
55
|
+
|
|
56
|
+
```toml
|
|
57
|
+
[dependencies]
|
|
58
|
+
quantwave = "0.1"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## ๐ Quick Start
|
|
64
|
+
|
|
65
|
+
QuantWave is designed to be completely intuitive whether you are processing historical dataframes or processing live WebSocket streams.
|
|
66
|
+
|
|
67
|
+
### 1. Batch Processing (Backtesting / Research)
|
|
68
|
+
|
|
69
|
+
Extend Polars with the `.ta()` namespace to rapidly compute indicators across your entire dataset.
|
|
70
|
+
|
|
71
|
+
```rust
|
|
72
|
+
use polars::prelude::*;
|
|
73
|
+
use quantwave::prelude::*;
|
|
74
|
+
|
|
75
|
+
let df = df.lazy()
|
|
76
|
+
// Calculate SuperTrend with Period=10, Multiplier=3.0
|
|
77
|
+
.ta()
|
|
78
|
+
.supertrend("high", "low", "close", 10, 3.0)
|
|
79
|
+
.collect()?;
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 2. Streaming Processing (Live Trading)
|
|
83
|
+
|
|
84
|
+
Use the core structs directly to process incoming ticks one by one without reallocating arrays or maintaining complex state buffers.
|
|
85
|
+
|
|
86
|
+
```rust
|
|
87
|
+
use quantwave::prelude::*;
|
|
88
|
+
|
|
89
|
+
// Initialize state machine once
|
|
90
|
+
let mut st = SuperTrend::new(10, 3.0);
|
|
91
|
+
|
|
92
|
+
// Feed it tick by tick in your live event loop
|
|
93
|
+
for tick in live_price_stream {
|
|
94
|
+
// SuperTrend takes (high, low, close)
|
|
95
|
+
let signal = st.next((tick.high, tick.low, tick.close));
|
|
96
|
+
println!("Latest SuperTrend Value: {:?}", signal);
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## ๐งช Rigorous Validation
|
|
103
|
+
|
|
104
|
+
QuantWave is built for institutional-grade reliability. We validate our calculations through a rigorous three-tier pipeline:
|
|
105
|
+
|
|
106
|
+
1. **Unit Tests:** Ensuring edge cases and bounds are handled safely.
|
|
107
|
+
2. **Gold Standard Verification:** Comparing outputs against JSON-encoded reference vectors sourced from TradingView, MetaTrader, and established platforms.
|
|
108
|
+
3. **Parity Tests:** Proptest suites that continuously enforce `Batch(data) == Streaming.collect(data)`.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## ๐ค Contributing & Issue Tracking
|
|
113
|
+
|
|
114
|
+
QuantWave uses **Beads** (`bd`) for deterministic, graph-aware issue tracking to ensure high-velocity agentic and human collaboration.
|
|
115
|
+
|
|
116
|
+
- Check for ready work: `bd ready`
|
|
117
|
+
- Claim a task: `bd update <id> --claim`
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## ๐ License
|
|
122
|
+
|
|
123
|
+
Licensed under the MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT).
|
|
124
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
quantwave/__init__.py,sha256=R873S18aml6goGhwUQCZywUcMX5fqD2Bvm9Es-7PQNM,276
|
|
2
|
+
quantwave/quantwave_python/__init__.py,sha256=u5rvFh4HtEAi3jkzx5IONnhoyzo16wuEmXawLN-a70k,40
|
|
3
|
+
quantwave/quantwave_python/quantwave_python.dll,sha256=vTn6jvHwJ0QMbABBbA3Z-0AGszknxcluL6jepBP5tVM,539648
|
|
4
|
+
quantwave/quantwave_python/quantwave_python.py,sha256=0fh0_ypj0zTua_TFpp1Ta03vnpWwUzk392GnnouY2hM,148610
|
|
5
|
+
quantwave-0.1.14.dist-info/METADATA,sha256=m9y16J_fnZXy6CT7nB_2oLW6eAwoEAk4Y1u5ZY4GOdY,5143
|
|
6
|
+
quantwave-0.1.14.dist-info/WHEEL,sha256=fxUURV-tpz4EGoGaAcyzIZ0CMCngNhGnetS-bU4AaSg,94
|
|
7
|
+
quantwave-0.1.14.dist-info/licenses/LICENSE,sha256=YgPA_hgukqkZrmZWSAuZ5A5WE3V5yVVxkS01BaTMnaI,1092
|
|
8
|
+
quantwave-0.1.14.dist-info/sboms/quantwave-python.cyclonedx.json,sha256=Iqrb9i2_dgJXuDZyYRRhkRc0MI0JiK83iUNWuyJXTqc,137506
|
|
9
|
+
quantwave-0.1.14.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mayank Lavania
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|