mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 15:37:44 +00:00
2cec08bc91
- Add rdagent/log/daily_log.py: daily-rotating structured logs per command (fin_quant, strategies, evaluate, parallel) with loguru; all.log combined sink - predix.py: route TeeWriter output to logs/YYYY-MM-DD/ instead of root dir; wrap quant() and evaluate() in daily_log.session() for start/stop/duration tracking - rdagent/app/cli.py: fin_quant_cli waits for llama.cpp /health endpoint before starting pipeline (up to 300 s); daily_log integration for fin_quant, generate_strategies, eval_all, parallel commands - scripts/predix_gen_strategies_real_bt.py: daily_log integration with per-strategy ACCEPTED/REJECTED entries and summary on completion - rdagent/components/coder/factor_coder/auto_fixer.py: new module that patches common LLM-generated factor issues (min_periods, inf/NaN, groupby.transform, MultiIndex corrections) - rdagent/components/coder/factor_coder/prompts.yaml: add critical rules for EURUSD 1-min intraday factors (min_periods, inf handling, groupby, date range) - README.md: document --reasoning off and --n-gpu-layers 28 for llama-server; explain VRAM constraints when Ollama is running alongside llama.cpp - .bandit.yml: suppress B615 (HuggingFace unsafe download) for RL benchmark files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
142 lines
4.3 KiB
Plaintext
142 lines
4.3 KiB
Plaintext
# ═══════════════════════════════════════════════════════════
|
|
# 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 |