[2026-05-27] 포맷 후 복구 설치 스크립트 추가

This commit is contained in:
2026-05-27 16:53:52 +09:00
parent 04577c63f1
commit 29db1bfcab
135 changed files with 2909 additions and 251 deletions
+48
View File
@@ -47,3 +47,51 @@ docker-compose --profile emergency up kill-switch
# 또는
python kill_switch/kill.py
```
# StockBot Current Status - 2026-05-27
This project is currently a paper-trading scalping bot with an AI training
pipeline in observation mode.
Active:
- Windows Task Scheduler operation for morning, midday, evening, watchdog, and training jobs.
- Entry snapshots for model training.
- Post-entry snapshots at 1m, 3m, 5m, and 10m.
- Bot-data export to `data/training_dataset.csv`.
- External daily/minute data collection for pretraining.
- RandomForest-based training engine.
- Optional AI entry scoring when `models/scalping_model.joblib` exists.
Not active yet:
- AI does not block buys.
- AI does not change position size.
- AI does not override exits.
- Real-cash trading is not ready until fill, unfilled-order, and partial-fill handling is hardened.
Daily schedule:
| Time | Task | Purpose |
|---|---|---|
| 08:15 | `StockBot_Morning` | Run `/morning`, build context, start bot |
| 09:00-15:10 | `StockBot_Watchdog` | Check/restart bot every 5 minutes |
| 11:20 | `StockBot_Midday` | Midday review and context update |
| 15:30 | `StockBot_Evening` | Daily review and proposal report |
| 16:00 | `StockBot_Training` | Collect data, export datasets, train model |
Useful commands:
```powershell
python -m pip install -r requirements.txt
powershell -ExecutionPolicy Bypass -File scripts\install_dependencies.ps1
powershell -ExecutionPolicy Bypass -File scripts\setup_scheduler.ps1
powershell -ExecutionPolicy Bypass -File scripts\run_training_pipeline.ps1
python scripts\export_training_dataset.py
python scripts\train_ai_model.py
```
Dependency portability:
- Root `requirements.txt` includes `app/requirements.txt`.
- `scripts/download_dependencies.ps1` downloads Windows/Python 3.11 wheels to `vendor/wheels`.
- `scripts/install_dependencies.ps1` installs from `vendor/wheels` first, then falls back to online pip.
- Raspberry Pi needs its own wheelhouse or online install because Windows wheels are not ARM/Linux compatible.
---