This commit is contained in:
2026-06-03 13:27:05 +09:00
parent 91b616e127
commit d57f1698af
2 changed files with 11 additions and 9 deletions
@@ -86,7 +86,7 @@ object AutoTradingManager {
val now = LocalTime.now(ZoneId.of("Asia/Seoul"))
val nowDate = LocalDate.now(seoulZone)
var checkTime = 60_000 * 3L
val isTradingDay = nowDate.dayOfWeek.value in 1..5
val isTradingDay = MarketUtil.canTradeToday()
if (isTradingDay && now.isAfter(KisSession.startTime()) && now.isBefore(KisSession.endTime()) && !shouldShowFullWindow) {
shouldShowFullWindow = true
SystemSleepPreventer.wakeDisplay()
@@ -951,7 +951,6 @@ object AutoTradingManager {
if (reanalysisList.isNotEmpty()) {
candidates.addAll(reanalysisList)
}
candidates.clear()///물타기
reanalysisList.clear()
if (KisSession.tradeConfig.lowerAveragePrice) {
currentBalance?.getHoldings()?.map {