Compare commits

..

2 Commits

Author SHA1 Message Date
b1d334a6cd bug fix 2026-05-11 09:57:39 +09:00
93907c2dac scrolling bug fix 2026-05-08 16:03:54 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -767,7 +767,7 @@ object AutoTradingManager {
var myOredsAndBalanceCodes : MutableSet<String> = mutableSetOf()
suspend fun checkBalance(isMorning: Boolean = true) {
if (isMorning) {
// currentBalance = KisTradeService.fetchIntegratedBalance().getOrNull()
currentBalance = KisTradeService.fetchIntegratedBalance().getOrNull()
// currentBalance?.let { currentBalance ->
// if (LocalTime.now().isBefore(LocalTime.of(18,1))) {
// TradingReportManager.recordAssetSnapshot(

View File

@ -116,7 +116,7 @@ fun TradingDecisionLog() {
onClick = {
coroutineScope.launch {
// index 0으로 부드럽게 스크롤 (즉시 이동은 scrollToItem(0))
listState.animateScrollToItem(filteredLogs.size - 1)
listState.animateScrollToItem(if (filteredLogs.size - 1 >= 0) filteredLogs.size - 1 else 0)
}
}
) { Text("AI 자동매매 실시간 로그", style = MaterialTheme.typography.h6) }