# ═══════════════════════════════════════════════════════════
# PREDIX .gitignore
# ═══════════════════════════════════════════════════════════

# ──────────────────────────────────────────────────────────
# 🔒 CLOSED-SOURCE ASSETS (NIEMALS COMMITTEN!)
# ──────────────────────────────────────────────────────────

# Trading scripts & raw OHLCV data
git_ignore_folder/
data_raw/

# Backtest results, strategies, logs
results/
*.log
fin_quant*.log
selector.log
log/

# Credentials & environment
.env
.env.*
!.env.example
.env.backup
.env.local
.env.test
*.test.env

# Private prompts (your improved versions)
prompts/local/
*.local.yaml
*_private.yaml

# Private models (your improved versions)
models/local/
*.local.py
*_private.py

# Closed source RD-Agent components
rdagent/scenarios/qlib/local/

# Databases & generated data
*.db
*.h5
intraday_pv*.h5
prompt_cache.db

# Generated strategy files
*.json
!package.json
!package-lock.json
!pyproject.json

# Private test scripts
test_credentials.py
test/backtesting/test_smart_strategy_gen.py

# Private scripts (root)
predix_quick_daytrading.py
predix_smart_strategy_gen.py

# Internal docs
TODO.md
QWEN.md
CLAUDE.md
docs/COMPLETE_WORKFLOW.md
docs/SMART_STRATEGY_GEN.md

# OpenACP workspace (secrets)
.openacp

# ──────────────────────────────────────────────────────────
# 🐍 Python
# ──────────────────────────────────────────────────────────

# Byte-compiled & cache
__pycache__/
*.py[cod]
*$py.class
*.pyc
.Python

# Distribution/packaging
build/
dist/
*.egg-info/
*.egg
predix.egg-info/
sdist/
var/

# Virtual environments
venv/
ENV/
env/
.venv/

# ──────────────────────────────────────────────────────────
# 🧪 Testing & Coverage
# ──────────────────────────────────────────────────────────

.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.nox/

# ──────────────────────────────────────────────────────────
# 💻 IDE & Editor
# ──────────────────────────────────────────────────────────

.idea/
.vscode/
*.swp
*.swo
*~

# ──────────────────────────────────────────────────────────
# 🗜️ Cache & Temp
# ──────────────────────────────────────────────────────────

.cache/
pickle_cache/
*.so

# ──────────────────────────────────────────────────────────
# 🏗️ Build & Reports
# ──────────────────────────────────────────────────────────

*.manifest
*.spec
..bfg-report/

# ──────────────────────────────────────────────────────────
# 🤖 AI Agent Workspaces (parallel runs)
# ──────────────────────────────────────────────────────────

.qwen/
RD-Agent_workspace_run*/
AGENTS.md
CLAUDE.md
.claude/