Compare commits

..

No commits in common. "b1d334a6cdd1edde1f2972a02d68943dd212ed7c" and "acd1b137601fdcebe6d8068fbc3bbda37b5fb531" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

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

View File

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