ea355eb60c
fix: Update universe presets usage for new API structure
2026-03-06 22:33:19 +09:00
5f84897aa6
fix: Remove Stock model dependency, use StockDailyPrice only
2026-03-06 22:22:33 +09:00
83cf8330b5
fix: Fix group section accordion not working
2026-03-06 22:17:24 +09:00
4473bca7ca
fix: Remove unused BacktestResult type
2026-03-06 22:11:20 +09:00
19711705b3
feat: Add bulk universe backtest UI tab
2026-03-06 21:57:15 +09:00
87b4205fb6
feat: Add bulk backtest endpoints for entire stock universe
2026-03-06 21:55:45 +09:00
da4732f1e9
feat: Add stock universe loader for bulk backtest
2026-03-06 21:53:59 +09:00
0c4c888b38
feat: Add Backtest to navigation
2026-03-06 21:29:07 +09:00
3c14be1d97
feat: Add Backtest route to App
2026-03-06 21:28:40 +09:00
38ba5bfbb0
feat: Add backtest UI with ML training data generation and strategy testing
2026-03-06 21:28:16 +09:00
7a31651cc5
feat: Register backtest router in API
2026-03-06 21:27:13 +09:00
d54785f79d
feat: Add backtest API endpoints for ML training and strategy testing
2026-03-06 21:26:56 +09:00
943708e68e
feat: Add comprehensive backtest engine with ML training data generation
2026-03-06 21:25:49 +09:00
ab6fe810bd
feat: Add preset selector and improved UI with collapsible groups
2026-03-06 20:49:05 +09:00
674cb1ef28
feat: Add strategy presets for quick configuration
2026-03-06 20:47:19 +09:00
12460b7c9e
매매전략 수정중
2026-03-06 20:46:08 +09:00
2b9a90a03f
소스리뷰 버전 적용
2026-03-06 19:10:39 +09:00
ab75dc66f8
코드리뷰 수정
2026-03-06 15:22:40 +09:00
da5cef1925
MCP 수정중
2026-03-06 14:40:31 +09:00
ac98bb856f
배치 수정
2026-03-06 14:12:54 +09:00
6d39069d3f
merge: phase3 realtime module refactor into main
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-06 11:05:39 +09:00
eef9620aa6
merge: phase2 strategy module refactor into main
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-06 11:05:37 +09:00
d341e7e3cc
merge: phase1 trading module refactor into main
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-06 11:05:35 +09:00
48aa5440ec
refactor(phase3): Add realtime module examples and README
2026-03-06 11:00:03 +09:00
b1eab5305a
refactor(phase3): Add KIS WebSocket client implementation
2026-03-06 10:58:28 +09:00
7355df6ebf
refactor(phase3): Create realtime module core structure
2026-03-06 10:57:40 +09:00
a322745cf3
refactor(phase2): Add Scanner module and strategy README
2026-03-06 10:55:19 +09:00
8920699eee
refactor(phase2): Add DayTradingStrategy example and indicators module
2026-03-06 10:53:48 +09:00
025ecb5f4f
refactor(phase2): Add StrategyManager for strategy orchestration
2026-03-06 10:52:40 +09:00
70dd32a783
refactor(phase2): Create strategy module core structure
2026-03-06 10:51:58 +09:00
30babd2963
docs(phase1): Add trading module documentation
2026-03-06 10:47:00 +09:00
a7eb07b860
refactor(phase1): Update trading module exports
2026-03-06 10:46:07 +09:00
3baafd56e8
refactor(phase1): Add backward compatibility adapter
2026-03-06 10:45:51 +09:00
ea4ebae992
refactor(phase1): Add market data module for price/chart queries
2026-03-06 10:45:21 +09:00
0bfca909cc
refactor(phase1): Create trading module core files
2026-03-06 10:44:33 +09:00
0774352a98
refactor: Create trading module structure
2026-03-06 10:29:59 +09:00
ef324c42db
docs: Add comprehensive refactoring plan
2026-03-06 10:29:31 +09:00
c93b35ba04
추천로직
2026-03-06 10:01:13 +09:00
d6841a06f7
배치 실계좌에서 종목조회로 변경
2026-03-03 13:34:31 +09:00
0531952edb
feat: lifespan에 strategy_cfg.auto_init() 추가
2026-03-03 10:44:49 +09:00
f3323bb742
feat: 전략 파라미터 DB 관리 시스템 구현
...
[추가 파일]
1. models/models.py — StrategyConfig 테이블 추가
2. services/strategy_config_service.py — DB 읽기 + TTL 캐시 서비스
3. api/endpoints/strategy_config.py — CRUD REST API
4. api/__init__.py — strategy_config 라우터 등록
[동작 방식]
- DB에 파라미터 있으면 DB 우선, 없으면 config.py 기본값 fallback
- TTL 30초 인메모리 캐시 → 재시작 없이 실시간 파라미터 변경
- 전략 코드에서 strategy_cfg.get("KEY", default) 패턴으로 사용
- /api/strategy-config 엔드포인트로 UI에서 관리 가능
[관리 대상 파라미터 그룹]
- INDICATOR: RSI, 볼린저, MA, ATR, ADX
- RISK: 손절/익절, MDD, 포지션 크기, 연속손실
- FILTER: 과열필터, 하락장필터, 트렌드필터
- DAY_TRADE: 데이트레이딩 세부 파라미터
- MEAN_REVERSION: 평균회귀 전략 파라미터
2026-03-03 10:40:02 +09:00
14e6d87025
fix(technical_indicators): analyze_rsi RSI<30 구간 BB하단 반등 진입 신호 추가
...
[문제]
- rsi < 30 이면 signal=None (반등 대기) 으로만 처리
- RSI가 30 이하에서 실제로 반등 시작해도 BUY 신호가 나오지 않음
- 결과적으로 check_buy_signal(rsi_prev)의 반등 확인 로직이 무의미
[수정]
- rsi < 30 AND rsi > rsi_prev (반등 확인) AND 볼린저 하단 근처: BUY 신호
- rsi < 30 AND rsi <= rsi_prev (아직 하락): signal=None 유지 (기존)
- 기존 30~45 반등 구간 로직은 그대로 유지
2026-03-03 10:20:48 +09:00
9104d1a0e7
fix(strategy): 평균회귀 전략 손실 원인 3가지 수정
...
1. check_buy_signal: 거래량 OR 조건 제거 + RSI 반등 확인 파라미터 추가
- `vol_ok AND rsi<=50` 조건 삭제 (모멘텀 진입이 평균회귀 청산과 충돌)
- `rsi_prev` 파라미터 추가: RSI가 반등 중일 때만 진입 허용
- BULL 조건: RSI<=30 AND BB하단 AND 거래량>=100% AND (RSI 반등 중)
2. check_exit_signal: 1차 익절 RSI 상한 제거
- `55 <= rsi <= 65` → `rsi >= 55` (빠른 반등 시 익절 기회 놓치지 않음)
3. check_exit_signal: ATR 손절 기준을 entry_price 기준으로 변경
- `lowest_since_entry - 2.5*ATR` → `entry_price - 2.5*ATR`
- 기존: 저점 기준이라 매수 직후 손절이 너무 느슨함
- 개선: 진입가 기준으로 손절 즉시 발동 가능
2026-03-03 10:18:22 +09:00
1e22c9a4af
수정사항 반영
2026-03-03 10:09:41 +09:00
bb89dc3f42
전량청산 얼럿 삭제
2026-02-27 12:35:57 +09:00
6f23b06816
보유종목 1분마다 호출하는부분 수정
2026-02-27 12:35:07 +09:00
a47591e40d
fix: batch_intraday_analysis 리뷰 이슈 수정
...
- [🔴 ] logging.basicConfig를 __main__ 블록으로 이동
- [🟡 ] analyze_update_and_manage: get_current_score 세션 통합 (세션 인스턴스 감소)
- [🟡 ] rescore_outside_candidates: bulk_upsert_analysis로 일괄 저장
- [🟠 ] retained 통계: AI 스킵 종목 명확히 분리
2026-02-27 12:30:56 +09:00
62fccd6d6f
fix: batch_daily_analysis 리뷰 이슈 수정
...
- [🔴 ] saver_task 예외 시 deadlock 방지: asyncio.wait로 saver_task 예외 감지
- [🔴 ] logging.basicConfig를 __main__ 블록으로 이동 (인프로세스 실행 시 충돌 방지)
- [🟡 ] get_all_tradable_stocks: 최소 종목 수(50개) 미만 시 RuntimeError 발생
- [🟠 ] detect_and_log_market_regime: df=None일 때 len(df) 호출 안전하게 수정
2026-02-27 12:28:07 +09:00
4de03bad67
대시보드 수정및 전략수정중
2026-02-27 11:22:44 +09:00
38ff312321
fix: 분석종목 누적 버그 수정
...
- get_rule_based_recommendations_realtime: date.today()(UTC) → KST 기준 오늘 날짜로 교체
- get_rule_based_recommendations_from_db: since_date 조회를
오늘(today_kst)만 조회하도록 수정 (timedelta(days=1) 제거)
→ 어제 데이터까지 포함되어 누적 표시되던 문제 해결
2026-02-27 09:14:30 +09:00