Commit Graph

3 Commits

Author SHA1 Message Date
hayato5246
2f8a6ea349 전일대비 부호 및 API 데이터 파싱 로직 개선:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m13s
- `utils.ts`: 전일대비 부호 매핑 로직(1=상한가, 4=하한가) 수정 및 관련 함수(`sigToArrow`, `sigClass`) 업데이트.
- `types.ts`: `IndexQuote` 인터페이스의 `value` 필드명을 `price`로 수정.
- `kiwoom_ws_service.go`, `theme_service.go`, `kiwoom_service.go`: 전일대비 데이터 파싱 시 부호 결정 로직 추가(`signedChange`, `signedChangeBySig`) 및 관련 함수 호출로 대체.
- 기존 `predPre` 처리 부분을 양수/음수를 정확히 계산하도록 변경.
- `kospi200_service.go`: `PredPre` 필드 부호 처리 로직(`signedChangeBySig`) 추가.
- Svelte 페이지 업데이트:
  - `+page.svelte` 파일에서 `value` 필드를 `price`로 대체.
  - `theme` 및 `kospi200` 페이지에서 전일대비 표시값 절댓값으로 렌더링되도록 수정 (`Math.abs` 적용).
2026-04-08 19:53:51 +09:00
hayato5246
5aeb5f2b80 자산 현황 및 자동매매 페이지 제거:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 11m20s
- `/templates/pages/asset.html`, `/templates/pages/autotrade.html` HTML 템플릿 삭제.
- `/static/js/asset.js`, `/static/js/autotrade.js` 클라이언트 스크립트 제거.
- 관련 함수 및 초기화 로직 삭제 (자산 조회 및 자동매매 기능 비활성화).
2026-04-07 21:43:24 +09:00
hayato5246
d10b794c9f first commit 2026-03-31 19:32:59 +09:00