feat: Add DART strategy and related configurations

ㅇ
Changes:
- Introduced the DART strategy to the trading system, including its configuration and integration into the existing framework.
- Updated the database schema to include DART-specific tables for disclosures and watchlists.
- Enhanced the backtesting and parameter search functionalities to support the DART strategy.
- Implemented new rules for browser verification and API interactions to ensure compliance with the updated DART strategy.

Impact:
- These additions expand the trading capabilities of the system, allowing for more comprehensive analysis and execution of DART-related strategies, while maintaining system integrity and performance.
This commit is contained in:
Your Name
2026-07-21 07:50:24 +09:00
parent 74db49149f
commit 61bec4bd1d
86 changed files with 4811 additions and 297 deletions

View File

@@ -12,6 +12,17 @@ alwaysApply: true
`curl 200` / `systemctl active` 만으로는 검증 완료가 **아님**. 콘솔 `ReferenceError`·버튼 미동작은 브라우저 클릭 없이는 놓친다.
## 0) 🚨 브라우저 URL — 절대 고정 (로컬호스트 금지)
| 용도 | URL |
|------|-----|
| **브라우저 검증 (필수)** | **`http://192.168.0.149:5050/`** |
| curl/헬스체크 (서버 로컬만) | `http://127.0.0.1:5050/` |
- Cursor 브라우저·에이전트는 **`127.0.0.1` / `localhost` 로 열지 말 것** → `chrome-error` / 접속 실패.
- **항상** `http://192.168.0.149:5050/` 로 navigate·스냅샷·클릭.
- 모델이 바뀌어도 이 주소만 쓴다. “로컬이면 127” 추측 **금지**.
## 1) 재시작
```bash
@@ -23,10 +34,11 @@ curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:5050/
- 유닛: `kis_backtest_web.service` (포트 **5050**)
- 실패 시: `journalctl -u kis_backtest_web.service -n 40 --no-pager`
- curl 은 서버 쪽 헬스용. **브라우저 검증 URL 과 혼동하지 말 것.**
## 2) 브라우저 검증 (수정 범위만큼)
브라우저 도구로 `http://127.0.0.1:5050/` (또는 LAN `http://192.168.0.149:5050/`) 을 연다.
브라우저 도구로 **`http://192.168.0.149:5050/`** 만 연다. (`127.0.0.1` 금지)
- 강력 새로고침에 해당하는 방식으로 최신 JS/HTML 로드
- **수정한 탭·버튼·날짜 인풋·정렬·거래내역**을 실제로 클릭/입력
@@ -36,7 +48,7 @@ curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:5050/
최소 산출물(보고에 포함):
- 재시작 결과 (`active` + HTTP 코드)
- 연 URL + 누른 탭/버튼
- 연 URL (**반드시** `http://192.168.0.149:5050/…`) + 누른 탭/버튼
- 콘솔 오류 유무 (없으면 “콘솔 오류 없음”)
## 언제