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.
Files changed (46) hide show
  1. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/.gitignore +2 -0
  2. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/CHANGELOG.md +17 -0
  3. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/PKG-INFO +17 -17
  4. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/README.md +16 -16
  5. quantstats_pro-0.4.4/quantstats/version.py +1 -0
  6. quantstats_pro-0.4.2/quantstats/version.py +0 -1
  7. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/LICENSE.txt +0 -0
  8. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/pyproject.toml +0 -0
  9. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/__init__.py +0 -0
  10. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_compat.py +0 -0
  11. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_montecarlo.py +0 -0
  12. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_numpy_compat.py +0 -0
  13. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/__init__.py +0 -0
  14. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/core.py +0 -0
  15. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_plotting/wrappers.py +0 -0
  16. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/__init__.py +0 -0
  17. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/engine.py +0 -0
  18. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/_reporting/sections.py +0 -0
  19. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/__init__.py +0 -0
  20. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/core.py +0 -0
  21. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/alphadecay/plotting.py +0 -0
  22. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/__init__.py +0 -0
  23. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/analytics.py +0 -0
  24. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/base.py +0 -0
  25. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/core.py +0 -0
  26. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/__init__.py +0 -0
  27. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/bayesian.py +0 -0
  28. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/block_bootstrap.py +0 -0
  29. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/bootstrap.py +0 -0
  30. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/garch.py +0 -0
  31. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/gbm.py +0 -0
  32. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/heston.py +0 -0
  33. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/jump_diffusion.py +0 -0
  34. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/shuffle.py +0 -0
  35. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/models/trimmed.py +0 -0
  36. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/plotting.py +0 -0
  37. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/montecarlo/registry.py +0 -0
  38. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/plots.py +0 -0
  39. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/py.typed +0 -0
  40. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report.html +0 -0
  41. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_alpha_decay.html +0 -0
  42. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_montecarlo.html +0 -0
  43. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/report_simple.html +0 -0
  44. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/reports.py +0 -0
  45. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/stats.py +0 -0
  46. {quantstats_pro-0.4.2 → quantstats_pro-0.4.4}/quantstats/utils.py +0 -0
@@ -27,3 +27,5 @@ AGENTS.md
27
27
  CONTEXT.md
28
28
  .local/
29
29
  .sandbox/
30
+ san_alpha_decay.ipynb
31
+ san_alpha_decay.html
@@ -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.2
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
+ [![PyPI version](https://img.shields.io/pypi/v/quantstats-pro.svg)](https://pypi.org/project/quantstats-pro/)
54
+ [![Python version](https://img.shields.io/badge/python-3.10+-blue.svg?style=flat)](https://pypi.org/project/quantstats-pro/)
55
+ [![CI](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml/badge.svg)](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
56
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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 # replaces: pip install quantstats
67
+ pip install quantstats-pro
68
68
  ```
69
69
 
70
70
  ```python
71
- import quantstats as qs # import unchanged
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 »](./CHANGELOG.md) · [Upstream »](https://github.com/ranaroussi/quantstats) · [Contributing »](./CONTRIBUTING.md)
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
+ ![Simple tearsheet — QQQ vs SPY](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_simple.webp)
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
+ ![Montecarlo tearsheet — QQQ](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_montecarlo.webp)
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
+ ![Alpha Decay tearsheet — QQQ](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_alpha_decay.webp)
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
+ ![Classic HTML tearsheet — QQQ vs SPY](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report.webp)
178
178
 
179
- [View interactive classic sample](./docs/tearsheet.html) · [Montecarlo docs](./docs/montecarlo.md) · [Alpha Decay docs](./docs/alphadecay.md)
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 »](./docs/montecarlo.md)
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 »](./docs/alphadecay.md)
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](./docs/montecarlo.md) and `help(qs.stats.<method>)` for parameter details.
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](./LICENSE.txt) for details.
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
+ [![PyPI version](https://img.shields.io/pypi/v/quantstats-pro.svg)](https://pypi.org/project/quantstats-pro/)
2
+ [![Python version](https://img.shields.io/badge/python-3.10+-blue.svg?style=flat)](https://pypi.org/project/quantstats-pro/)
3
+ [![CI](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml/badge.svg)](https://github.com/diegoalvarezmgl/quantstats-pro/actions/workflows/ci.yml)
4
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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 # replaces: pip install quantstats
15
+ pip install quantstats-pro
16
16
  ```
17
17
 
18
18
  ```python
19
- import quantstats as qs # import unchanged
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 »](./CHANGELOG.md) · [Upstream »](https://github.com/ranaroussi/quantstats) · [Contributing »](./CONTRIBUTING.md)
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
+ ![Simple tearsheet — QQQ vs SPY](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_simple.webp)
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
+ ![Montecarlo tearsheet — QQQ](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_montecarlo.webp)
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
+ ![Alpha Decay tearsheet — QQQ](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report_alpha_decay.webp)
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
+ ![Classic HTML tearsheet — QQQ vs SPY](https://raw.githubusercontent.com/diegoalvarezmgl/quantstats-pro/main/docs/report.webp)
126
126
 
127
- [View interactive classic sample](./docs/tearsheet.html) · [Montecarlo docs](./docs/montecarlo.md) · [Alpha Decay docs](./docs/alphadecay.md)
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 »](./docs/montecarlo.md)
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 »](./docs/alphadecay.md)
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](./docs/montecarlo.md) and `help(qs.stats.<method>)` for parameter details.
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](./LICENSE.txt) for details.
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"