mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
f01960ab55
New structure:
- models/standard/*.py: Default models (XGBoost, LightGBM, RandomForest)
- models/local/*.py: Your improved models (NOT in Git!)
- models/README.md: Documentation
- rdagent/components/model_loader.py: Model loader with priority
Features:
- Loader checks models/local/ first (your better models)
- Falls back to models/standard/ if no local version
- Supports versioned models (model_v2.py, model_v1.py)
- Lists available models
- Test function included
.gitignore updated:
- models/local/ excluded (your proprietary models)
- *.local.py excluded
- *_private.py excluded
Usage:
from rdagent.components.model_loader import load_model
model = load_model('xgboost_factor') # Auto-loads your better version!
Standard models included:
- xgboost_factor.py: XGBoost for tabular data
- lightgbm_factor.py: LightGBM (faster than XGBoost)
99 lines
1.0 KiB
Plaintext
99 lines
1.0 KiB
Plaintext
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
|
|
# Logs
|
|
*.log
|
|
log/
|
|
|
|
# Cache
|
|
pickle_cache/
|
|
prompt_cache.db
|
|
.cache/
|
|
|
|
# Generated/processed data
|
|
git_ignore_folder/
|
|
data_raw/
|
|
|
|
# Build artifacts
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Local scripts (generated)
|
|
convert_1min.py
|
|
import_1min_qlib.py
|
|
|
|
# Results (Backtesting, Factors, Runs)
|
|
results/
|
|
*.db
|
|
*.csv
|
|
*_export.json
|
|
*.h5
|
|
|
|
# Documentation (generated)
|
|
QWEN.md
|
|
|
|
# AI Agent Files (generated by Qwen Code)
|
|
.qwen/
|
|
|
|
# Internal documentation (not for public)
|
|
TODO.md
|
|
|
|
# Private prompts (your improved versions)
|
|
prompts/local/
|
|
*.local.yaml
|
|
*_private.yaml
|
|
|
|
# Private models (your improved versions)
|
|
models/local/
|
|
*.local.py
|
|
*_private.py
|
|
|
|
# Test credentials
|
|
.env.test
|
|
*.test.env
|
|
test_credentials.py
|