quantstats-pro 0.4.2__tar.gz → 0.4.4__tar.gz
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.
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/.gitignore +2 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/CHANGELOG.md +17 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/PKG-INFO +17 -17
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/README.md +16 -16
- quantstats_pro-0.4.4/quantstats/version.py +1 -0
- quantstats_pro-0.4.2/quantstats/version.py +0 -1
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/LICENSE.txt +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/pyproject.toml +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_compat.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_montecarlo.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_numpy_compat.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/core.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/wrappers.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/engine.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/sections.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/core.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/plotting.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/analytics.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/base.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/core.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/__init__.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/bayesian.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/block_bootstrap.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/bootstrap.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/garch.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/gbm.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/heston.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/jump_diffusion.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/shuffle.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/trimmed.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/plotting.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/registry.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/plots.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/py.typed +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report.html +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_alpha_decay.html +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_montecarlo.html +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_simple.html +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/reports.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/stats.py +0 -0
- {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/utils.py +0 -0
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
===========
|
|
3
3
|
|
|
4
|
+
0.4.4
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
**README / Docs**
|
|
8
|
+
|
|
9
|
+
- Cleaned up install and import code snippets in README (removed inline comments).
|
|
10
|
+
|
|
11
|
+
0.4.3
|
|
12
|
+
-----
|
|
13
|
+
|
|
14
|
+
**README / Docs**
|
|
15
|
+
|
|
16
|
+
- Restored shields.io badges (PyPI, Python, CI, License) at the top of README.
|
|
17
|
+
- Restored tearsheet screenshots for `html_simple`, `html_montecarlo`, `html_alpha_decay`, and classic `html` using PyPI-compatible absolute image URLs.
|
|
18
|
+
- Fixed interactive classic sample link to render via HTMLPreview instead of raw HTML source on GitHub.
|
|
19
|
+
- Converted relative doc links (`CHANGELOG`, `CONTRIBUTING`, `LICENSE`, `docs/*.md`) to absolute GitHub URLs so they work on PyPI.
|
|
20
|
+
|
|
4
21
|
0.4.2
|
|
5
22
|
-----
|
|
6
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantstats-pro
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Drop-in replacement for QuantStats — advanced risk engines, institutional HTML tearsheets, and actionable portfolio analytics for quants
|
|
5
5
|
Project-URL: Homepage, https://github.com/diegoalvarezmgl/quantstats-pro
|
|
6
6
|
Project-URL: Documentation, https://github.com/diegoalvarezmgl/quantstats-pro
|
|
@@ -50,10 +50,10 @@ Provides-Extra: plotly
|
|
|
50
50
|
Requires-Dist: plotly>=5.0.0; extra == 'plotly'
|
|
51
51
|
Description-Content-Type: text/markdown
|
|
52
52
|
|
|
53
|
-
[PyPI version](https://pypi.org/project/quantstats-pro/)
|
|
54
|
-
[Python version](https://pypi.org/project/quantstats-pro/)
|
|
55
|
-
[CI](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
|
|
56
|
-
[License](LICENSE.txt)
|
|
53
|
+
[](https://pypi.org/project/quantstats-pro/)
|
|
54
|
+
[](https://pypi.org/project/quantstats-pro/)
|
|
55
|
+
[](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
|
|
56
|
+
[](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/LICENSE.txt)
|
|
57
57
|
|
|
58
58
|
# QuantStats Pro: Advanced portfolio analytics for quants
|
|
59
59
|
|
|
@@ -64,11 +64,11 @@ Where original quantstats stops at classic performance stats and a single HTML t
|
|
|
64
64
|
Built for systematic traders, portfolio managers, and quant researchers who need production-grade tearsheets from a returns series.
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
pip install quantstats-pro
|
|
67
|
+
pip install quantstats-pro
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
```python
|
|
71
|
-
import quantstats as qs
|
|
71
|
+
import quantstats as qs
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
> **Note:** QuantStats Pro **cannot coexist** with the original `quantstats`
|
|
@@ -76,7 +76,7 @@ import quantstats as qs # import unchanged
|
|
|
76
76
|
> namespace. Uninstall `quantstats` before installing `quantstats-pro`
|
|
77
77
|
> (`pip uninstall quantstats`).
|
|
78
78
|
|
|
79
|
-
[Changelog »](
|
|
79
|
+
[Changelog »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/CHANGELOG.md) · [Upstream »](https://github.com/ranaroussi/quantstats) · [Contributing »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/CONTRIBUTING.md)
|
|
80
80
|
|
|
81
81
|
### Why QuantStats Pro?
|
|
82
82
|
|
|
@@ -133,7 +133,7 @@ Focused equity-curve view with core metrics and charts. Ideal when you need a cl
|
|
|
133
133
|
qs.reports.html_simple(returns, benchmark="SPY", output="qqq_simple.html")
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
Simple tearsheet — QQQ vs SPY
|
|
136
|
+

|
|
137
137
|
|
|
138
138
|
### Montecarlo tearsheet — `html_montecarlo`
|
|
139
139
|
|
|
@@ -150,7 +150,7 @@ qs.reports.html_montecarlo(
|
|
|
150
150
|
)
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
Montecarlo tearsheet — QQQ
|
|
153
|
+

|
|
154
154
|
|
|
155
155
|
### Alpha Decay tearsheet — `html_alpha_decay`
|
|
156
156
|
|
|
@@ -164,7 +164,7 @@ qs.reports.html_alpha_decay(
|
|
|
164
164
|
)
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
Alpha Decay tearsheet — QQQ
|
|
167
|
+

|
|
168
168
|
|
|
169
169
|
### Classic full tearsheet — `html`
|
|
170
170
|
|
|
@@ -174,9 +174,9 @@ The original QuantStats report — all metrics and charts, visually redesigned i
|
|
|
174
174
|
qs.reports.html(returns, benchmark="SPY", output="qqq_full.html")
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
Classic HTML tearsheet — QQQ vs SPY
|
|
177
|
+

|
|
178
178
|
|
|
179
|
-
[View interactive classic sample](
|
|
179
|
+
[View interactive classic sample](https://htmlpreview.github.io/?https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/tearsheet.html) · [Montecarlo docs](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md) · [Alpha Decay docs](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/alphadecay.md)
|
|
180
180
|
|
|
181
181
|
---
|
|
182
182
|
|
|
@@ -278,7 +278,7 @@ print(f"Goal probability: {mc.goal_probability:.1%}")
|
|
|
278
278
|
mc.plot()
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
-
[Full Montecarlo documentation »](
|
|
281
|
+
[Full Montecarlo documentation »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md)
|
|
282
282
|
|
|
283
283
|
---
|
|
284
284
|
|
|
@@ -319,7 +319,7 @@ for metric in result.metrics:
|
|
|
319
319
|
|
|
320
320
|
Generate the full HTML tearsheet with `qs.reports.html_alpha_decay(returns)`.
|
|
321
321
|
|
|
322
|
-
[Alpha Decay documentation »](
|
|
322
|
+
[Alpha Decay documentation »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/alphadecay.md)
|
|
323
323
|
|
|
324
324
|
---
|
|
325
325
|
|
|
@@ -342,7 +342,7 @@ qs.reports.basic(returns) # basic metrics + plots
|
|
|
342
342
|
qs.reports.full(returns) # full metrics + plots
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
See [Montecarlo documentation](
|
|
345
|
+
See [Montecarlo documentation](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md) and `help(qs.stats.<method>)` for parameter details.
|
|
346
346
|
|
|
347
347
|
### Period-based vs trade-based metrics
|
|
348
348
|
|
|
@@ -388,7 +388,7 @@ When saving the monthly returns heatmap via `savefig={...}`, the figure may stil
|
|
|
388
388
|
|
|
389
389
|
## Legal Stuff
|
|
390
390
|
|
|
391
|
-
**QuantStats Pro** is a fork of **QuantStats** by Ran Aroussi, distributed under the **Apache Software License**. See [LICENSE.txt](
|
|
391
|
+
**QuantStats Pro** is a fork of **QuantStats** by Ran Aroussi, distributed under the **Apache Software License**. See [LICENSE.txt](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/LICENSE.txt) for details.
|
|
392
392
|
|
|
393
393
|
## Credits
|
|
394
394
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
[PyPI version](https://pypi.org/project/quantstats-pro/)
|
|
2
|
-
[Python version](https://pypi.org/project/quantstats-pro/)
|
|
3
|
-
[CI](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
|
|
4
|
-
[License](LICENSE.txt)
|
|
1
|
+
[](https://pypi.org/project/quantstats-pro/)
|
|
2
|
+
[](https://pypi.org/project/quantstats-pro/)
|
|
3
|
+
[](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
|
|
4
|
+
[](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/LICENSE.txt)
|
|
5
5
|
|
|
6
6
|
# QuantStats Pro: Advanced portfolio analytics for quants
|
|
7
7
|
|
|
@@ -12,11 +12,11 @@ Where original quantstats stops at classic performance stats and a single HTML t
|
|
|
12
12
|
Built for systematic traders, portfolio managers, and quant researchers who need production-grade tearsheets from a returns series.
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
pip install quantstats-pro
|
|
15
|
+
pip install quantstats-pro
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
```python
|
|
19
|
-
import quantstats as qs
|
|
19
|
+
import quantstats as qs
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
> **Note:** QuantStats Pro **cannot coexist** with the original `quantstats`
|
|
@@ -24,7 +24,7 @@ import quantstats as qs # import unchanged
|
|
|
24
24
|
> namespace. Uninstall `quantstats` before installing `quantstats-pro`
|
|
25
25
|
> (`pip uninstall quantstats`).
|
|
26
26
|
|
|
27
|
-
[Changelog »](
|
|
27
|
+
[Changelog »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/CHANGELOG.md) · [Upstream »](https://github.com/ranaroussi/quantstats) · [Contributing »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/CONTRIBUTING.md)
|
|
28
28
|
|
|
29
29
|
### Why QuantStats Pro?
|
|
30
30
|
|
|
@@ -81,7 +81,7 @@ Focused equity-curve view with core metrics and charts. Ideal when you need a cl
|
|
|
81
81
|
qs.reports.html_simple(returns, benchmark="SPY", output="qqq_simple.html")
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
Simple tearsheet — QQQ vs SPY
|
|
84
|
+

|
|
85
85
|
|
|
86
86
|
### Montecarlo tearsheet — `html_montecarlo`
|
|
87
87
|
|
|
@@ -98,7 +98,7 @@ qs.reports.html_montecarlo(
|
|
|
98
98
|
)
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
Montecarlo tearsheet — QQQ
|
|
101
|
+

|
|
102
102
|
|
|
103
103
|
### Alpha Decay tearsheet — `html_alpha_decay`
|
|
104
104
|
|
|
@@ -112,7 +112,7 @@ qs.reports.html_alpha_decay(
|
|
|
112
112
|
)
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
Alpha Decay tearsheet — QQQ
|
|
115
|
+

|
|
116
116
|
|
|
117
117
|
### Classic full tearsheet — `html`
|
|
118
118
|
|
|
@@ -122,9 +122,9 @@ The original QuantStats report — all metrics and charts, visually redesigned i
|
|
|
122
122
|
qs.reports.html(returns, benchmark="SPY", output="qqq_full.html")
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
Classic HTML tearsheet — QQQ vs SPY
|
|
125
|
+

|
|
126
126
|
|
|
127
|
-
[View interactive classic sample](
|
|
127
|
+
[View interactive classic sample](https://htmlpreview.github.io/?https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/tearsheet.html) · [Montecarlo docs](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md) · [Alpha Decay docs](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/alphadecay.md)
|
|
128
128
|
|
|
129
129
|
---
|
|
130
130
|
|
|
@@ -226,7 +226,7 @@ print(f"Goal probability: {mc.goal_probability:.1%}")
|
|
|
226
226
|
mc.plot()
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
[Full Montecarlo documentation »](
|
|
229
|
+
[Full Montecarlo documentation »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md)
|
|
230
230
|
|
|
231
231
|
---
|
|
232
232
|
|
|
@@ -267,7 +267,7 @@ for metric in result.metrics:
|
|
|
267
267
|
|
|
268
268
|
Generate the full HTML tearsheet with `qs.reports.html_alpha_decay(returns)`.
|
|
269
269
|
|
|
270
|
-
[Alpha Decay documentation »](
|
|
270
|
+
[Alpha Decay documentation »](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/alphadecay.md)
|
|
271
271
|
|
|
272
272
|
---
|
|
273
273
|
|
|
@@ -290,7 +290,7 @@ qs.reports.basic(returns) # basic metrics + plots
|
|
|
290
290
|
qs.reports.full(returns) # full metrics + plots
|
|
291
291
|
```
|
|
292
292
|
|
|
293
|
-
See [Montecarlo documentation](
|
|
293
|
+
See [Montecarlo documentation](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/docs/montecarlo.md) and `help(qs.stats.<method>)` for parameter details.
|
|
294
294
|
|
|
295
295
|
### Period-based vs trade-based metrics
|
|
296
296
|
|
|
@@ -336,7 +336,7 @@ When saving the monthly returns heatmap via `savefig={...}`, the figure may stil
|
|
|
336
336
|
|
|
337
337
|
## Legal Stuff
|
|
338
338
|
|
|
339
|
-
**QuantStats Pro** is a fork of **QuantStats** by Ran Aroussi, distributed under the **Apache Software License**. See [LICENSE.txt](
|
|
339
|
+
**QuantStats Pro** is a fork of **QuantStats** by Ran Aroussi, distributed under the **Apache Software License**. See [LICENSE.txt](https://github.com/diegoalvarezmgl/quantstats-pro/blob/main/LICENSE.txt) for details.
|
|
340
340
|
|
|
341
341
|
## Credits
|
|
342
342
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "0.4.4"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "0.4.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/block_bootstrap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/jump_diffusion.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|