This commit is contained in:
2026-03-26 14:42:39 +09:00
parent af0dc6b15f
commit d6cfcbd579
7 changed files with 151 additions and 19 deletions
@@ -448,6 +448,21 @@ object TradingLogStore {
}
}
fun addAnalyzer(name : String, code : String, log: String) {
synchronized(this) {
if (decisionLogs.size > 1000) decisionLogs.removeAt(0)
decisionLogs.add(
LogEntry(
time = LocalTime.now().format(DateTimeFormatter.ofPattern("HH:mm:ss")),
stockName = "$name[$code] 분석",
decision = "ANALYZER",
confidence = 100.0,
reason = log
)
)
}
}
fun addSettingLog(settingDesc : String, old : String, new : String, log: String) {
synchronized(this) {
if (decisionLogs.size > 1000) decisionLogs.removeAt(0)