Architecture Docker (8 services), FastAPI, TimescaleDB, Redis, Streamlit. Stratégies : scalping, intraday, swing. MLEngine + RegimeDetector (HMM). BacktestEngine + WalkForwardAnalyzer + Optuna optimizer. Routes API complètes dont /optimize async. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
397 lines
5.6 KiB
Plaintext
397 lines
5.6 KiB
Plaintext
# Trading AI Secure - .gitignore
|
|
|
|
# ============================================================================
|
|
# PYTHON
|
|
# ============================================================================
|
|
|
|
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# PyInstaller
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
cover/
|
|
|
|
# Translations
|
|
*.mo
|
|
*.pot
|
|
|
|
# Django stuff:
|
|
*.log
|
|
local_settings.py
|
|
db.sqlite3
|
|
db.sqlite3-journal
|
|
|
|
# Flask stuff:
|
|
instance/
|
|
.webassets-cache
|
|
|
|
# Scrapy stuff:
|
|
.scrapy
|
|
|
|
# Sphinx documentation
|
|
docs/_build/
|
|
|
|
# PyBuilder
|
|
.pybuilder/
|
|
target/
|
|
|
|
# Jupyter Notebook
|
|
.ipynb_checkpoints
|
|
|
|
# IPython
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# pyenv
|
|
.python-version
|
|
|
|
# pipenv
|
|
Pipfile.lock
|
|
|
|
# poetry
|
|
poetry.lock
|
|
|
|
# pdm
|
|
.pdm.toml
|
|
|
|
# PEP 582
|
|
__pypackages__/
|
|
|
|
# Celery stuff
|
|
celerybeat-schedule
|
|
celerybeat.pid
|
|
|
|
# SageMath parsed files
|
|
*.sage.py
|
|
|
|
# Environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# Spyder project settings
|
|
.spyderproject
|
|
.spyproject
|
|
|
|
# Rope project settings
|
|
.ropeproject
|
|
|
|
# mkdocs documentation
|
|
/site
|
|
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
# Pyre type checker
|
|
.pyre/
|
|
|
|
# pytype static type analyzer
|
|
.pytype/
|
|
|
|
# Cython debug symbols
|
|
cython_debug/
|
|
|
|
# ============================================================================
|
|
# TRADING AI SECURE SPECIFIC
|
|
# ============================================================================
|
|
|
|
# Configuration files with credentials
|
|
config/ig_config.yaml
|
|
config/risk_limits.yaml
|
|
config/strategy_params.yaml
|
|
config/data_sources.yaml
|
|
config/*.secret.yaml
|
|
config/*.private.yaml
|
|
|
|
# API Keys and Secrets
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
secrets/
|
|
credentials/
|
|
|
|
# Trading Data
|
|
data/historical/
|
|
data/cache/
|
|
data/backtest_results/
|
|
data/paper_trading/
|
|
data/live_trading/
|
|
*.csv
|
|
*.parquet
|
|
*.h5
|
|
*.hdf5
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
*.log.*
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
database/
|
|
|
|
# Cache
|
|
.cache/
|
|
cache/
|
|
*.cache
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
*.tmp
|
|
*.temp
|
|
|
|
# Backup files
|
|
*.bak
|
|
*.backup
|
|
*~
|
|
|
|
# Model files (large)
|
|
models/*.pkl
|
|
models/*.joblib
|
|
models/*.h5
|
|
models/*.pt
|
|
models/*.pth
|
|
models/*.onnx
|
|
models/checkpoints/
|
|
|
|
# Optimization results
|
|
optimization_results/
|
|
optuna_studies/
|
|
*.study
|
|
|
|
# Profiling
|
|
*.prof
|
|
*.lprof
|
|
profile_stats/
|
|
|
|
# ============================================================================
|
|
# IDE / EDITORS
|
|
# ============================================================================
|
|
|
|
# VSCode
|
|
.vscode/
|
|
*.code-workspace
|
|
|
|
# PyCharm
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
*.ipr
|
|
|
|
# Sublime Text
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
|
|
# Vim
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.vim/
|
|
|
|
# Emacs
|
|
*~
|
|
\#*\#
|
|
.\#*
|
|
|
|
# Atom
|
|
.atom/
|
|
|
|
# ============================================================================
|
|
# OPERATING SYSTEMS
|
|
# ============================================================================
|
|
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Icon
|
|
._*
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
.com.apple.timemachine.donotpresent
|
|
.AppleDB
|
|
.AppleDesktop
|
|
Network Trash Folder
|
|
Temporary Items
|
|
.apdisk
|
|
|
|
# Windows
|
|
Thumbs.db
|
|
Thumbs.db:encryptable
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
*.stackdump
|
|
[Dd]esktop.ini
|
|
$RECYCLE.BIN/
|
|
*.cab
|
|
*.msi
|
|
*.msix
|
|
*.msm
|
|
*.msp
|
|
*.lnk
|
|
|
|
# Linux
|
|
*~
|
|
.fuse_hidden*
|
|
.directory
|
|
.Trash-*
|
|
.nfs*
|
|
|
|
# ============================================================================
|
|
# DOCKER
|
|
# ============================================================================
|
|
|
|
# Docker
|
|
docker-compose.override.yml
|
|
.dockerignore
|
|
|
|
# ============================================================================
|
|
# MONITORING & METRICS
|
|
# ============================================================================
|
|
|
|
# Prometheus
|
|
prometheus_data/
|
|
|
|
# Grafana
|
|
grafana_data/
|
|
|
|
# InfluxDB
|
|
influxdb_data/
|
|
|
|
# ============================================================================
|
|
# DEPLOYMENT
|
|
# ============================================================================
|
|
|
|
# Kubernetes
|
|
*.kubeconfig
|
|
|
|
# Terraform
|
|
*.tfstate
|
|
*.tfstate.*
|
|
.terraform/
|
|
|
|
# Ansible
|
|
*.retry
|
|
|
|
# ============================================================================
|
|
# DOCUMENTATION
|
|
# ============================================================================
|
|
|
|
# Build artifacts
|
|
docs/build/
|
|
docs/_build/
|
|
docs/.doctrees/
|
|
|
|
# ============================================================================
|
|
# TESTING
|
|
# ============================================================================
|
|
|
|
# Test outputs
|
|
test_results/
|
|
test_reports/
|
|
.pytest_cache/
|
|
|
|
# ============================================================================
|
|
# MISC
|
|
# ============================================================================
|
|
|
|
# Compressed files
|
|
*.zip
|
|
*.tar.gz
|
|
*.rar
|
|
*.7z
|
|
|
|
# Large files (use Git LFS if needed)
|
|
*.mp4
|
|
*.mov
|
|
*.avi
|
|
|
|
# Node modules (if using any JS tools)
|
|
node_modules/
|
|
package-lock.json
|
|
|
|
# ============================================================================
|
|
# SECURITY
|
|
# ============================================================================
|
|
|
|
# Never commit these!
|
|
*.env
|
|
*.env.*
|
|
.env.local
|
|
.env.*.local
|
|
secrets.yaml
|
|
credentials.json
|
|
service-account.json
|
|
private-key.pem
|
|
|
|
# SSH keys
|
|
id_rsa
|
|
id_rsa.pub
|
|
*.pem
|
|
|
|
# ============================================================================
|
|
# CUSTOM RULES
|
|
# ============================================================================
|
|
|
|
# Add your custom ignore rules below
|
|
# Example:
|
|
# my_custom_folder/
|
|
# *.custom_extension
|