Add CryptoQuant client and regime detection analysis

- Introduced `CryptoQuantClient` for fetching data from the CryptoQuant API.
- Added `regime_detection.py` for advanced regime detection analysis using machine learning.
- Updated dependencies in `pyproject.toml` and `uv.lock` to include `scikit-learn`, `matplotlib`, `plotly`, `requests`, and `python-dotenv`.
- Enhanced `.gitignore` to exclude `regime_results.html` and CSV files.
- Created an interactive HTML plot for regime detection results and saved it as `regime_results.html`.
This commit is contained in:
2026-01-13 16:13:57 +08:00
parent 44fac1ed25
commit e6d69ed04d
6 changed files with 566 additions and 1 deletions

View File

@@ -10,6 +10,11 @@ dependencies = [
"pandas>=2.3.1",
"ta>=0.11.0",
"vectorbt>=0.28.2",
"scikit-learn>=1.6.0",
"matplotlib>=3.10.0",
"plotly>=5.24.0",
"requests>=2.32.5",
"python-dotenv>=1.2.1",
]
[project.optional-dependencies]