Files
mt5-ai-xauusd-trader/requirements.txt
T
xnessomGitHubxnessomgoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
87df32b64b feat: 🔐 Jules02: Security hardening — dynamic secret masking (#969)
* feat: 🔐 Jules02: Security hardening — dynamic secret masking

- Implement dynamic secret discovery in SecretMaskingProcessor to automatically mask all SecretStr/SecretBytes fields.
- Enhance URL credential extraction to protect embedded passwords in connection strings (database, redis, etc).
- Refactor main.py to dynamically exclude sensitive fields from CLI output and audit snapshots.
- Add comprehensive tests for the new masking logic.

Co-authored-by: xnessom <255288032+xnessom@users.noreply.github.com>

* feat: 🔐 Jules02: Security hardening — dynamic secret masking

- Implement dynamic secret discovery in SecretMaskingProcessor to automatically mask all SecretStr/SecretBytes fields.
- Enhance URL credential extraction to protect embedded passwords in connection strings (database, redis, etc).
- Refactor main.py to dynamically exclude sensitive fields from CLI output and audit snapshots.
- Update SECURITY.md to reflect implemented hardening measures.
- Harmonize numpy version to 2.2.7 across all requirements to resolve CI dependency conflicts.
- Fix Ruff lint errors in log_config.py.

Co-authored-by: xnessom <255288032+xnessom@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: xnessom <255288032+xnessom@users.noreply.github.com>
2026-05-10 02:26:14 +00:00

86 lines
3.1 KiB
Plaintext

# ============================================================
# MT5 AI/ML Trading Bot - Enterprise Edition
# requirements.txt — pinned production dependencies
# Compatible: Python 3.10+
# ============================================================
# ── Core ML / RL ────────────────────────────────────────────
torch==2.5.1
torchvision==0.20.1
stable-baselines3==2.4.0
gymnasium==1.0.0
numpy==2.2.7
scipy==1.15.2
scikit-learn==1.6.1
pandas==2.2.3
# ── Deep Learning Extras ────────────────────────────────────
transformers==5.0.0rc3
timm==1.0.14
einops==0.8.0
# ── Technical Analysis ──────────────────────────────────────
TA-Lib==0.6.4
pandas-ta==0.4.71b0
mplfinance==0.12.10b0
# ── Data Acquisition ────────────────────────────────────────
yfinance==0.2.54
requests==2.33.0
aiohttp==3.13.4
httpx==0.28.1
# ── MetaTrader 5 ────────────────────────────────────────────
MetaTrader5==5.0.5735; sys_platform == 'win32'
metaapi-cloud-sdk==29.1.1; sys_platform == 'win32'
# ── Database ────────────────────────────────────────────────
psycopg2-binary==2.9.10
sqlalchemy==2.0.38
alembic==1.14.1
redis==5.2.1
# ── Monitoring & Logging ────────────────────────────────────
starlette==0.49.1
prometheus-client==0.21.1
structlog==25.1.0
rich==13.9.4
tqdm==4.67.1
# ── Dashboard / API ─────────────────────────────────────────
jinja2==3.1.6
fastapi==0.136.1
uvicorn[standard]==0.34.0
dash==2.18.2
plotly==6.0.0
# ── Configuration ───────────────────────────────────────────
python-dotenv==1.2.2
pydantic==2.10.6
pydantic-settings==2.7.1
tomli==2.2.1
# ── Testing ─────────────────────────────────────────────────
pytest==9.0.3
pytest-asyncio==1.3.0
pytest-mock==3.14.0
pytest-cov==6.0.0
hypothesis==6.125.2
# ── DevOps / CI ─────────────────────────────────────────────
optuna==4.8.0
pre-commit==4.1.0
black==26.3.1
ruff==0.9.6
mypy==1.15.0
# ── Utilities ───────────────────────────────────────────────
python-dateutil==2.9.0.post0
nest-asyncio==1.6.0
pytz==2025.1
click==8.1.8
tabulate==0.9.0
joblib==1.4.2
python-telegram-bot==21.10
psutil==6.1.1