fix: .env 미로드(ncue) fallback 및 B-1 운영 설정 정합

python-dotenv 없을 때 env_loader가 .env를 직접 파싱하도록 해
LIVE_TRADING_ENABLED=1이 dry-run으로 보이던 문제를 해결한다.
06 기동 시 로더·LIVE 상태를 출력하고, B-1 한도 검증·잔고 점검 스크립트를 추가한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dsyoon
2026-06-03 20:26:23 +09:00
parent 893f830aaf
commit 1fc560744d
7 changed files with 163 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
# Live Phase A — dry-run 검증
- 일시: 2026-06-03 08:50:59
- 결과: **WARN**
- 일시: 2026-06-03 19:55:24
- 결과: **PASS**
## Plan (목적)
@@ -19,14 +19,10 @@ python scripts/06_execute_live.py --once
## Check (점검 결과)
- GT_SIGNAL_CAUSAL=True
- LIVE_TRADING_ENABLED=False
- LIVE_TRADING_ENABLED=True
- monitor_rules: buy_compound_tight, sell_mtf_cross_all_tf
- hybrid DD: {'dd_large_pct': 5.0, 'dd_medium_pct': 2.0}
### 이슈
- paper_portfolio.json 과 sim replay 불일치 — signal_history 갱신 후 06 --once 1회 권장
## Act (다음 단계)
1. `05_run_monitor.py` 1~2일 병행 (알림만)