Fractal Volatility Signatures for detecting market regimes using multifractal analysis.
Project description
fractvol – Fractal Volatility Signatures
Detect hidden market regimes using multifractal scaling and Hurst dynamics.
fractvol brings advanced physics-based time series analysis to finance.
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:])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fractvol-0.1.0.tar.gz
(5.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractvol-0.1.0.tar.gz.
File metadata
- Download URL: fractvol-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50cb835494f5a3f1364c00c4708e435c9b7750e3456b2ce1cdc97285b6c86a8d
|
|
| MD5 |
271b9b425f128175b6728606ae105a15
|
|
| BLAKE2b-256 |
9e663119cf08a27d73ebccc123c877446982aa883a36acadeece36b19cdc4fa0
|
File details
Details for the file fractvol-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fractvol-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e27171688857d071f1d8760bf1f68b3efb67dcdcdc2e7ea1bbe28bdc214cda6
|
|
| MD5 |
bc02fe04ab8551355382df83459fcc99
|
|
| BLAKE2b-256 |
eb3cb20dc0875f558346e4a1a51e6a5e9e046b9d80f95b590f36736223a7e6df
|