Name | fractvol JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | Fractal Volatility Signatures for detecting market regimes using multifractal analysis. |
upload_time | 2025-08-03 03:23:17 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | MIT |
keywords |
finance
volatility
fractal
hurst
regime
quant
trading
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# fractvol – Fractal Volatility Signatures
Detect hidden market regimes using **multifractal scaling** and **Hurst dynamics**.
`fractvol` brings advanced physics-based time series analysis to finance.
```python
import fractvol as fv
import yfinance as yf
data = yf.download("SPY")['Close'].pct_change().dropna()
# Rolling fractal analysis
hursts = fv.rolling_hurst(data, window=100)
# Detect regime shifts
sigs = [fv.fractal_signature(data[i:i+200]) for i in range(0, len(data)-200, 50)]
regimes = fv.detect_regime_change(sigs)
# Predict volatility spikes
risk_score = fv.predict_volatility_spark(data)
# Visualize
fv.plot_multifractal(data[-150:])
Raw data
{
"_id": null,
"home_page": null,
"name": "fractvol",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "finance, volatility, fractal, hurst, regime, quant, trading",
"author": null,
"author_email": "Amit Kumar Jha <jha.8@alumni.iitj.ac.in>",
"download_url": "https://files.pythonhosted.org/packages/9e/66/3119cf08a27d73ebccc123c877446982aa883a36acadeece36b19cdc4fa0/fractvol-0.1.0.tar.gz",
"platform": null,
"description": "# fractvol \u2013 Fractal Volatility Signatures\r\n\r\nDetect hidden market regimes using **multifractal scaling** and **Hurst dynamics**. \r\n`fractvol` brings advanced physics-based time series analysis to finance.\r\n\r\n```python\r\nimport fractvol as fv\r\nimport yfinance as yf\r\n\r\ndata = yf.download(\"SPY\")['Close'].pct_change().dropna()\r\n\r\n# Rolling fractal analysis\r\nhursts = fv.rolling_hurst(data, window=100)\r\n\r\n# Detect regime shifts\r\nsigs = [fv.fractal_signature(data[i:i+200]) for i in range(0, len(data)-200, 50)]\r\nregimes = fv.detect_regime_change(sigs)\r\n\r\n# Predict volatility spikes\r\nrisk_score = fv.predict_volatility_spark(data)\r\n\r\n# Visualize\r\nfv.plot_multifractal(data[-150:])\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Fractal Volatility Signatures for detecting market regimes using multifractal analysis.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/AIM-IT4/fractvol",
"Issues": "https://github.com/AIM-IT4/fractvol/issues",
"Repository": "https://github.com/AIM-IT4/fractvol"
},
"split_keywords": [
"finance",
" volatility",
" fractal",
" hurst",
" regime",
" quant",
" trading"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "eb3cb20dc0875f558346e4a1a51e6a5e9e046b9d80f95b590f36736223a7e6df",
"md5": "bc02fe04ab8551355382df83459fcc99",
"sha256": "4e27171688857d071f1d8760bf1f68b3efb67dcdcdc2e7ea1bbe28bdc214cda6"
},
"downloads": -1,
"filename": "fractvol-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc02fe04ab8551355382df83459fcc99",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5945,
"upload_time": "2025-08-03T03:23:16",
"upload_time_iso_8601": "2025-08-03T03:23:16.081732Z",
"url": "https://files.pythonhosted.org/packages/eb/3c/b20dc0875f558346e4a1a51e6a5e9e046b9d80f95b590f36736223a7e6df/fractvol-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9e663119cf08a27d73ebccc123c877446982aa883a36acadeece36b19cdc4fa0",
"md5": "271b9b425f128175b6728606ae105a15",
"sha256": "50cb835494f5a3f1364c00c4708e435c9b7750e3456b2ce1cdc97285b6c86a8d"
},
"downloads": -1,
"filename": "fractvol-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "271b9b425f128175b6728606ae105a15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5289,
"upload_time": "2025-08-03T03:23:17",
"upload_time_iso_8601": "2025-08-03T03:23:17.493302Z",
"url": "https://files.pythonhosted.org/packages/9e/66/3119cf08a27d73ebccc123c877446982aa883a36acadeece36b19cdc4fa0/fractvol-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-03 03:23:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AIM-IT4",
"github_project": "fractvol",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fractvol"
}