mirror of
https://github.com/ArthurDanjou/ArtStudies.git
synced 2026-01-29 23:28:15 +01:00
Add portfolio analysis script and update dependencies
- Created a new Python script for portfolio analysis using historical stock data. - Implemented functions for normality testing of prices and returns. - Added histogram plots for prices and returns. - Included logic for random portfolio allocation and efficient frontier calculation. - Updated `pyproject.toml` to include `pandas-stubs` for type hinting support. - Modified `uv.lock` to reflect the addition of `pandas-stubs` and its dependencies.
This commit is contained in:
@@ -12,6 +12,7 @@ dependencies = [
|
||||
"numpy>=2.2.5",
|
||||
"opencv-python>=4.11.0.86",
|
||||
"pandas>=2.2.3",
|
||||
"pandas-stubs>=2.3.2.250926",
|
||||
"plotly>=6.3.0",
|
||||
"scikit-learn>=1.6.1",
|
||||
"scipy>=1.15.2",
|
||||
@@ -48,6 +49,7 @@ select = [
|
||||
# Désactiver certaines règles
|
||||
ignore = [
|
||||
"E501", # line too long, géré par le formatter
|
||||
"E402", # Imports in top of file
|
||||
]
|
||||
|
||||
# Exclure certains fichiers ou répertoires
|
||||
@@ -79,5 +81,5 @@ fixable = ["ALL"]
|
||||
unfixable = []
|
||||
|
||||
# Formatage des imports
|
||||
[isort]
|
||||
known-third-party = ["pydantic", "django"]
|
||||
[tool.isort]
|
||||
known_third_party = ["pydantic", "django"]
|
||||
|
||||
Reference in New Issue
Block a user