Commit Graph
100 Commits
Author SHA1 Message Date
lun_admin 4bc83c8fe7 refactor(architecture): Step 2 package restructuring and database/store decoupling
- Extract Exposed database tables (TradeStatus, ConfigTable, AutoTradeTable, TradeLogTable, HolidayTable) from DatabaseFactory into dedicated package database.schema.Tables
- Decouple AutoTradeItem into model.AutoTradeItem with Kotlinx Serializable support
- Decouple in-memory log store TradingLogStore into ui.store.TradingLogStore
- Package root-level Defines.kt into config.Defines with appropriate package declaration
- Extract KisSession singleton state management from model.AppConfig into dedicated model.KisSession
- Update package declarations and import paths across Main.kt, SettingsScreen, TradingDecisionLog, AutoTradingManager, LlamaServerManager, RagService, KisTradeService, and TradingReportManager
- Verified clean build with ./gradlew compileKotlin (0 errors)
2026-11-17 15:01:49 +09:00
lun_admin 69ce5683cf refactor(cleanup): Step 1 remove unused legacy UI files and dead services
- Delete 14 unused legacy UI files (DashboardScreen, CandleChart, StockDetailArea, StockHeader, ActiveTradeRow, AutoTradeSection, AiAnalysisView, BalanceSection, IntegratedOrderSection, MarketSection, MarketStockItemRow, PeriodTrendCard, RealTimeTradeList, TradeLogRow)
- Remove unused AppScreen.Dashboard entry and commented routes in Main.kt
- Delete unreferenced network/KisOverseasService.kt
- Unify duplicate CorpInfo definitions into standalone model/CorpInfo.kt
- Add runtime data and large DART zip/xml files to .gitignore
2026-11-17 14:53:09 +09:00
lun_admin adb1cee556 refactor(network): Phase 3 migrate Telegram curl subprocess to Ktor async client
- Replace OS curl process fork in NewsService.sendTelegramMessage with Ktor asynchronous client.post
- Eliminate ProcessBuilder and platform-dependent shell execution for Telegram alerts
- Update todo.md checklist and completion status
2026-11-17 14:46:35 +09:00
lun_admin 8f563b7c9f feat(trading): Phase 2 reliability, rate limiting, and resource leak prevention
- Implement thread-safe coroutine TokenBucket KisRateLimiter to strictly limit KIS API requests to <= 3/sec (prevent EGW00201 errors)
- Integrate KisRateLimiter across all REST order/balance/quote endpoints in KisTradeService
- Dynamically resolve current and previous year DART report codes (Q3/Semi/Q1/Annual) in NewsService.fetchFinancialGrowth instead of hardcoded 2024
- Support dynamic Ollama model detection via /api/tags in RagService to prevent 404 when model name differs
- Add JVM ShutdownHook to BrowserManager and enable image/CSS resource blocking in DynamicNewsScraper to prevent zombie Chromium processes and speed up scraping
- Add thread-safe dbTransaction wrapper and dbQuery (newSuspendedTransaction) to DatabaseFactory to prevent H2 file lock contention
2026-11-17 14:44:02 +09:00
lun_admin 7f199e6ae7 fix(core): Phase 1 critical stability and memory optimizations
- Lazy initialize RagService.embeddingModel to prevent fixed port mismatch before PortFinder executes
- Replace global pkill in LlamaServerManager with targeted port/PID-based cleanup
- Remove redundant errorStream reader thread in LlamaServerManager and ensure descendant process destruction on stop
- Convert DartCodeManager XML parsing from DOM to StAX streaming to eliminate high heap memory consumption (300MB -> few MB)
- Make shared collections in DynamicNewsScraper and AutoTradingManager thread-safe (ConcurrentHashMap, Collections.synchronizedList)
- Reduce KisTradeService Ktor logging level from ALL to HEADERS/NONE to prevent high I/O overhead and credential exposure
- Add ARCHITECTURE.md and todo.md system documentation
2026-11-17 14:40:15 +09:00
lun_admin 7a7de487a4 ... 2026-10-06 17:55:03 +09:00
lun_admin dab3ab7993 .... 2026-10-06 17:18:49 +09:00
lun_admin 4b1805b9b8 ... 2026-10-06 14:47:26 +09:00
lun_admin 25c1485b1e 가격괴리 취소 버그 수정 2026-10-06 13:07:56 +09:00
lun_admin daf74fbe83 ... 2026-09-22 17:18:21 +09:00
lun_admin 40c70577ca ... 2026-09-21 17:04:53 +09:00
lun_admin bcdb3546fa 분석후 분할 매수, 보유주식 분할 매도 2026-09-16 17:35:06 +09:00
lun_admin 3827698b6f ... 2026-09-15 17:35:11 +09:00
lun_admin c84f4f0cd1 ... 2026-09-15 17:04:57 +09:00
lun_admin a53beb1e18 ... 2026-09-15 16:53:47 +09:00
lun_admin 15793d1852 ... 2026-09-15 16:37:18 +09:00
lun_admin 84f2202f17 ... 2026-09-15 16:17:45 +09:00
lun_admin 1a2fe8b6e6 ..... 2026-09-15 15:35:27 +09:00
lun_admin 0e241205ee ... 2026-09-15 14:29:47 +09:00
lun_admin 8e567f5b69 .... 2026-09-15 14:26:53 +09:00
lun_admin 442cdf0877 .. 2026-09-15 11:37:09 +09:00
lun_admin 3998cf159a .... 2026-09-08 11:30:43 +09:00
lun_admin 5e90ee39bc ... 2026-09-07 14:18:23 +09:00
lun_admin 5882f07e42 ... 2026-08-12 15:22:22 +09:00
lun_admin 302802a53d .... 2026-08-10 17:23:40 +09:00
lun_admin b83eb11cb7 ../. 2026-08-10 11:29:59 +09:00
lun_admin 30ab7bbecf .. 2026-08-10 10:15:13 +09:00
lun_admin 3fdb298caa ... 2026-08-03 16:17:53 +09:00
lun_admin acd26abe1e .... 2026-08-03 11:53:29 +09:00
lun_admin b134dea1e1 ... 2026-07-10 14:55:19 +09:00
lun_admin 7474558136 ... 2026-06-26 10:17:03 +09:00
lun_admin 81ce9b1539 . 2026-06-19 18:08:15 +09:00
lun_admin c55b089fcd ... 2026-06-19 15:17:20 +09:00
lun_admin fd8283c507 ... 2026-06-19 14:40:46 +09:00
lun_admin ce07537eef ... 2026-06-19 14:31:33 +09:00
lun_admin 8e145803d8 .... 2026-06-18 17:56:34 +09:00
lun_admin 27d330677e ... 2026-06-16 13:07:38 +09:00
lun_admin 71fdabfc32 ... 2026-06-15 14:28:12 +09:00
lun_admin 3fd9e3d833 ..... 2026-06-12 13:11:23 +09:00
lun_admin affad2743e .... 2026-06-09 14:16:18 +09:00
lun_admin 075a085b92 ... 2026-06-08 14:45:15 +09:00
lun_admin 355db7fe20 ... 2026-06-04 11:37:08 +09:00
lun_admin 4a72a30ab6 ... 2026-06-04 11:26:33 +09:00
lun_admin df5febfb42 ... 2026-06-04 10:51:24 +09:00
lun_admin aa4f8daadf ... 2026-06-04 10:42:54 +09:00
lun_admin d57f1698af ... 2026-06-03 13:27:05 +09:00
lun_admin 91b616e127 ... 2026-06-02 17:57:00 +09:00
lun_admin 21242d5ca4 ... 2026-06-02 17:10:06 +09:00
lun_admin d26eb34f1d ... 2026-06-02 15:30:17 +09:00
lun_admin 83d671bece ... 2026-06-02 15:05:02 +09:00
lun_admin 059d1830b7 ... 2026-06-02 14:43:13 +09:00
lun_admin ada0d9d6fe ... 2026-06-02 14:40:33 +09:00
lun_admin 9d43c04670 ... 2026-06-02 11:19:31 +09:00
lun_admin d0bdc57a1e ... 2026-06-02 10:43:37 +09:00
lun_admin 558a39e2d3 ... 2026-06-01 17:55:10 +09:00
lun_admin 510e19b2e8 .... 2026-06-01 13:37:07 +09:00
lun_admin 3fcce5e5c6 .... 2026-05-29 13:29:17 +09:00
lun_admin 74c3e2462d ... 2026-05-27 12:45:19 +09:00
lun_admin ef32260bdb ... 2026-05-26 14:18:41 +09:00
lun_admin 1cca11edc4 .... 2026-05-26 11:20:37 +09:00
lun_admin e94869b9e7 ... 2026-05-20 17:18:15 +09:00
lun_admin ce63b5760a ... 2026-05-19 13:33:59 +09:00
lun_admin 9af9f46748 ... 2026-05-18 17:56:26 +09:00
lun_admin 4c27d71701 ... 2026-05-18 13:03:10 +09:00
lun_admin b9ba8efc1a ... 2026-05-14 13:27:33 +09:00
lun_admin ad6d00ac39 ... 2026-05-13 11:37:57 +09:00
lun_admin 619407966e ... 2026-05-07 14:53:19 +09:00
lun_admin 6f98b0fde4 .. 2026-05-06 17:21:45 +09:00
lun_admin 5c00152de9 .. 2026-05-06 17:13:59 +09:00
lun_admin 07a66a3fa3 .. 2026-05-06 16:43:49 +09:00
lun_admin d7efc433bd .. 2026-05-06 15:53:55 +09:00
lun_admin 0413fa3e2e .. 2026-05-04 11:19:52 +09:00
lun_admin 23d505eabe . 2026-05-04 11:03:19 +09:00
lun_admin 7c953304fa .. 2026-04-30 17:27:59 +09:00
lun_admin 3c7f652f38 ... 2026-04-29 17:56:16 +09:00
lun_admin 9fefdc22f2 ... 2026-04-29 15:41:20 +09:00
lun_admin 2c736e687c ... 2026-04-29 15:32:09 +09:00
lun_admin a3a0338cc5 ... 2026-04-20 17:09:54 +09:00
lun_admin 2d577300c3 ... 2026-04-17 18:08:53 +09:00
lun_admin ed12d07bc2 리포팅 테스트 2026-04-16 15:48:23 +09:00
lun_admin 68a7a05961 ... 2026-04-15 10:53:40 +09:00
lun_admin dd1f961d57 ... 2026-04-15 10:39:46 +09:00
lun_admin db134d5e9e ... 2026-04-15 10:25:42 +09:00
lun_admin 295b429d6d ... 2026-04-15 10:08:57 +09:00
lun_admin 84cfb2782d ... 2026-04-13 18:02:38 +09:00
lun_admin a320dcde02 ... 2026-04-10 17:15:31 +09:00
lun_admin 7d03cc78b1 ... 2026-04-09 17:03:52 +09:00
lun_admin dec19983af sss 2026-04-09 14:01:43 +09:00
lun_admin 0c7c27fa51 .. 2026-04-09 13:50:26 +09:00
lun_admin 95e44b18d0 ... 2026-04-09 13:17:52 +09:00
lun_admin 8bb099e4f6 ... 2026-04-09 09:12:26 +09:00
lun_admin 0fe8d5ba45 .. 2026-04-08 17:25:04 +09:00
lun_admin c505b79953 ... 2026-04-08 16:12:02 +09:00
lun_admin 5a504ffa31 ... 2026-04-08 15:45:18 +09:00
lun_admin af72ffae1c .... 2026-04-08 15:33:07 +09:00
lun_admin 6494784bbc ... 2026-04-08 14:18:09 +09:00
lun_admin b95c1d5f72 ... 2026-04-08 08:25:49 +09:00
lun_admin 9037710ada ... 2026-04-08 08:23:39 +09:00
lun_admin fed80636e7 ... 2026-04-07 18:10:10 +09:00
lun_admin 537aec9302 .... 2026-04-07 18:07:18 +09:00