Commit graph

81 commits

Author SHA1 Message Date
237a110c28 feat(worker): backfill scheduler 개선 및 코드 리뷰 문서 정리
- backfill.go: 리밸런싱 백필 로직 개선
- backfill_test.go: 테스트 코드 수정
- 코드 리뷰 문서 이동 (archive)
2026-06-21 07:30:37 +09:00
e00d07539c feat: scheduled market data refresh - scheduler implementation and retry backfill 2026-06-21 07:10:32 +09:00
5deef2f5ed fix: backtest multi-timeframe freshness readiness support
- Add multi-timeframe freshness readiness scenario and test data
- Update operator output, runner, and scenario logic
- Archive old plan/code-review documents
2026-06-20 20:00:55 +09:00
e646abbc31 feat: backtest multi-timeframe coverage milestone update and fixes 2026-06-20 18:59:19 +09:00
47109b4e42 feat: monthly aggregation and backtest multi-timeframe coverage
- Add monthly bars aggregation in worker (services/worker/internal/marketdata/aggregation/)
- Support monthly timeframe in operator runner and output
- Add monthly aggregation test data and test cases
- Update contracts (proto, Dart, Go) for monthly timeframe support
- Sync parser_map, socket handlers, and worker client across services
- Add code review and plan logs for multi-timeframe coverage milestones
2026-06-19 19:51:05 +09:00
1e788f3121 feat: monthly aggregation implementation and code review 2026-06-19 10:22:43 +09:00
76d916f1df feat: backtest multi-timeframe coverage - minute import rejection archive, monthly aggregation, runner/scenario fixes
- Archive G06 minute import rejection task files (plan, code review, complete)
- Add monthly aggregation module (services/worker/internal/marketdata/aggregation/)
- Fix runner and scenario handling for rejected minute imports
- Update tests and testdata for minute import rejection flow
- Update G05 code review for monthly aggregation
2026-06-19 08:23:28 +09:00
dfabb9bfef feat: backtest multi-timeframe coverage - import timeframe contract & archive migration 2026-06-18 16:22:36 +09:00
e5bb46aaab feat: backtest multi-timeframe coverage completion
- Add agent-task/m-backtest-multi-timeframe-coverage with plans and code reviews
- Update roadmap PHASE and milestone documents
- Add bar_source_test.go for worker backtest
2026-06-18 10:53:03 +09:00
65f037bc79 feat: market data daily chart update and task archive
- Update MarketDailyItemchartprice to include volume field
- Add unit tests for market domain types
- Update market data job to map volume field
- Update KIS provider for daily chart price API
- Archive completed task files to 2026/06/
2026-06-18 09:45:41 +09:00
353584c8f9 chore: update domain types and archive backtest task files 2026-06-18 07:33:11 +09:00
012935e906 fix(domain): capability matrix API 구현 누락 항목을 보완한다
ProviderCapability에 Rules 필드 추가
CheckBars, ProviderCapabilityRequest, ProviderCapabilityDecision, ProviderCapabilityRule 타입 추가
types_test.go에 TestProviderCapabilityMatrix 테스트 추가
CODE_REVIEW-local-G05.md 구현 체크리스트 및 검증 결과 작성
2026-06-17 22:42:35 +09:00
97373ca14e feat(agent-task): m-backtest-multi-timeframe-coverage 작업 계획과 코드 리뷰를 추가한다
01_domain_capability_matrix: PLAN-local-G05, CODE_REVIEW-local-G05
02+01_kis_job_capability: PLAN-local-G06, CODE_REVIEW-local-G06
2026-06-17 21:37:12 +09:00
793e38cad8 fix: backtest result output and scenario automation updates 2026-06-17 07:35:20 +09:00
9d947f6be9 chore: archive old task files and update backtest matrix seed data 2026-06-16 22:46:20 +09:00
72ff5d1369 chore: archive 05+04 runtime startup files and update milestone 2026-06-16 21:53:12 +09:00
6cf66682ef feat: backtest scenario automation task files and milestone update 2026-06-16 17:09:49 +09:00
243a1293f4 feat: backtest scenario automation and handoff validation
- Add backtest matrix test cases (success, failed, mismatch, timeout)
- Update runner with backtest scenario support
- Update scenario.go with handoff validation
- Update handoff tests for backtest scenarios
- Remove obsolete plan/review documents (moved to archive)
2026-06-16 07:55:09 +09:00
1266d6ab83 feat: backtest scenario automation G06-G07 완료 및 아카이브
- batch runner 구현 및 테스트 (G06: local 검증, G07: cloud 통합)
- scenario automation 파일들을 archive로 이동
- runner, scenario, output 개선
2026-06-15 22:46:01 +09:00
cb89655c6f update roadmap and task plans for backtest scenario automation 2026-06-15 21:25:40 +09:00
d770a195ff feat: backtest scenario automation 구현
- cli: scenario 실행 명령어 추가
- operator: scenario 처리 로직 구현 및 테스트
2026-06-15 21:13:32 +09:00
60440f83de feat: add backtest selector flow task files 2026-06-15 17:15:05 +09:00
33e6ec0254 feat(backtest): 백테스트 선택자 플로우와 관련 테스트를 개선한다 2026-06-15 16:52:36 +09:00
f084fa6916 feat: backtest data collection infrastructure milestone completion
- Update backtest-data-collection-infrastructure roadmap
- Archive completed 02+01_storage_bar_selector task files
- Refactor bar_source, engine, and related tests in worker service
2026-06-15 15:30:12 +09:00
13fa527260 update roadmap and plan documents for backtest data collection milestone 2026-06-14 21:18:33 +09:00
a533efce9e feat: backtest data collection infrastructure implementation
- Add backtest proto definitions with selector and state types
- Update domain types for backtest session and configuration
- Implement backtest selector flow for data range input
- Add CLI operator client and handoff test coverage
- Update generated code for proto changes
- Add worker socket backtest mapping implementations
- Include agent-task for milestone tracking
2026-06-14 20:39:44 +09:00
5f7b972c44 feat: backtest gap handling task and operator updates 2026-06-14 19:28:24 +09:00
8d4cb785e8 feat: backtest data collection infrastructure freshness status and operator updates 2026-06-14 17:59:01 +09:00
d1bfc28d34 feat: backtest data collection infrastructure and agent-tooling phase add 2026-06-14 16:44:11 +09:00
c0db4b24c1 feat(live-trading): 계좌 동기화와 감사 추적을 추가한다
Live Trading Boundary의 남은 account-sync/audit-trail 작업을 완료해 운영자 headless workflow와 roadmap 완료 후보 상태를 함께 반영한다.
2026-06-08 11:18:41 +09:00
c23fea2342 feat(live-trading): 실거래 risk guard를 추가한다
실거래 주문이 브로커에 도달하기 전에 kill switch와 계정별 주문 한도를 검증해야 한다. API, CLI, client parser surface와 완료된 review archive를 함께 정리한다.
2026-06-08 05:36:59 +09:00
adc0b12d82 feat(live-trading): 실거래 주문 lifecycle을 연결한다
실거래 주문 생성/조회/취소 흐름이 contracts, worker, API, CLI, Flutter parser까지 같은 메시지 경계로 이어져야 한다.\n\n브로커 호출 전 operator confirmation과 malformed order validation을 worker-owned runtime에서 막고, 리뷰 완료 산출물을 archive에 보존한다.
2026-06-07 17:29:45 +09:00
87c7f9cdee chore(ports): 워크스페이스 포트를 표준화한다
API/worker runtime default와 local infra host publish가 같은 포트 정책을 사용하도록 맞춘다.\n\nagent-task 리뷰 산출물을 함께 남겨 포트 표준화 작업의 검토 이력을 추적할 수 있게 한다.
2026-06-07 13:44:37 +09:00
5488c4bc8b feat(live-trading): 브로커 포트 경계를 추가한다
실거래 경계를 열기 위한 domain, contract, API, worker, client parser 등록을 함께 추가한다.

브로커 capability 조회와 live trading capability 광고가 각 런타임에서 일관되게 검증되도록 테스트와 review artifact를 포함한다.
2026-06-07 10:24:28 +09:00
8335800de5 test(worker): 미국장 백테스트 스모크를 추가한다
US market daily bars가 backtest source와 engine fixture에서 USD 기준으로 동작하는지 잠그고, 완료된 agent-task 리뷰 산출물을 archive 상태로 정리한다.
2026-06-06 19:41:11 +09:00
9eef0b5460 test(marketdata): 미국장 공통 조회 검증을 추가한다
미국장 데이터가 들어와도 API, worker, operator가 한국장과 다른 조회 경로를 쓰면 shared-query 마일스톤을 닫을 수 없다. 기존 ListInstruments/ListBars/ImportDailyBars contract에 US market, NASDAQ venue, provider filter 케이스를 추가하고 완료 로그 기준으로 마일스톤 진행 상태를 동기화한다.
2026-06-06 19:09:49 +09:00
f38cbbc5cb feat(marketdata): KIS 미국장 일봉 수집을 추가한다
미국장 일봉 import가 국내 KIS chart endpoint에 묶여 있으면 NASDAQ/NYSE 요청을 정상화된 USD bar로 저장할 수 없다. provider capability로 venue/timeframe 지원 여부를 먼저 검증하고, KIS overseas dailyprice 응답을 venue timezone과 USD 통화 기준으로 normalize하도록 경로를 분리한다.
2026-06-06 17:54:52 +09:00
f552dfc3ef feat: US market expansion & asset type instrument support
- Add asset_type column to instrument table (migration 000003)
- Extend market domain types with asset_type and related fields
- Update proto definitions for common and market messages
- Regenerate Dart and Go protobuf code
- Add shared query surface for US market data
- Add KIS US daily itemchartprice provider and tests
- Update backtest and operator components for US market support
- Update socket market mapping for new asset types
- Move paper-trading-command-workflow to archive
- Add agent-task for m-us-market-expansion (subtasks 02+01, 03+01, 04+02,03)
2026-06-06 15:56:21 +09:00
db0b417f94 test(operator): paper handoff 검증을 보강한다
paper UI handoff 완료 근거를 남기기 위해 order lifecycle matrix row와 row-level assertion을 추가하고 리뷰 산출물을 archive한다.
2026-06-06 12:59:48 +09:00
daa29d6807 feat: paper trading command workflow completed (G08, G09)
- Archive completed subtasks (02+01_risk_command, 03+02_order_lifecycle)
- Add paper_order_lifecycle test data and expected output
- Update paper trading proto and regenerate code (Dart, Go)
- Fix order lifecycle handling in CLI operator, API socket, worker socket
- Update parser maps across CLI, API, and worker services
- Update backtest and paper trading tests
2026-06-06 11:36:50 +09:00
1ad517beec feat(paper-trading): 상태 출력 검증 흐름을 확장한다
paper trading command workflow를 진행 상태로 열고, loop smoke evidence와 후속 risk/order/UI handoff plan을 기록한다.

CLI 상태 출력에는 risk 기본값과 equity summary를 포함해 headless 검증 key가 안정적으로 남도록 한다.
2026-06-05 17:12:40 +09:00
aaf1af6387 feat(paper-trading): paper 상태 모니터링을 연결한다
Paper trading readiness에서 API/worker/CLI가 같은 protobuf 계약으로 paper state를 시작하고 조회할 수 있어야 한다. Headless 운영 경로를 먼저 닫기 위해 contract, worker runtime, API forwarding, CLI scenario, client parser map과 검증 artifact를 함께 반영한다.
2026-06-05 15:14:41 +09:00
26aa98a0fa feat: paper-trading-readiness milestone and backtest domain updates
- Update roadmap and trading-expansion phase for paper trading readiness
- Add backtest domain types and tests
- Add agent-task for paper-trading-readiness (G06/G07)
- Include archive logs for domain paper model work
2026-06-05 08:11:30 +09:00
d017747862 archive: operator-surface milestone and G05/G06 operator handoff task artifacts
- Move command-first-operator-workflow milestone to archive
- Archive operator handoff plan and code review logs (G05, G06)
- Update agent-roadmap and PHASE.md accordingly
- Update handoff_test.go and headless_validation.md
2026-06-04 20:58:49 +09:00
96e7c85c6f update operator workflow tests and backtest runtime 2026-06-03 22:28:59 +09:00
473934212c refactor: operator workflow G07 completed and archived
- Move G07 import CLI scenario docs to archive
- Update operator client, runner, scenario implementations
- Add kis_daily_import_smoke test fixtures
- Update handoff and output tests
2026-06-03 21:26:06 +09:00
620ca92e2e refactor: market status parsing과 backtest runtime 흐름 통합
- parser_map.go 업데이트하여 market status 파싱 로직 통일
- protobuf market.proto 변경사항 적용 (market.pb.go, market.pb.dart)
- socket handlers, market, backtest 관련 테스트 및 런타임 코드 개선
- workerclient와 alt-worker main.go 변경사항 반영
- agent-task archive 이동 (01_import_contract_worker_api → archive/2026/06/)
2026-06-03 20:26:56 +09:00
1314fe290b Plan command-first operator workflow 2026-06-03 19:02:19 +09:00
c4702ea692 feat: backtest feature implementation and reorganize agent-task 2026-06-02 10:58:01 +09:00
b5a544aa97 chore: archive G06 market repository task files and add client market feature 2026-06-02 10:41:41 +09:00