...
This commit is contained in:
parent
a320dcde02
commit
84cfb2782d
@ -398,7 +398,9 @@ object AutoTradingManager {
|
||||
)
|
||||
}
|
||||
} else {
|
||||
analyzeDeepLossHoldingsAfterMarket(holding)
|
||||
if ("Y".equals(marketCode)) {
|
||||
analyzeDeepLossHoldingsAfterMarket(holding)
|
||||
}
|
||||
}
|
||||
delay(300) // API 호출 부하 방지
|
||||
}
|
||||
@ -766,7 +768,7 @@ object AutoTradingManager {
|
||||
lastForceCheckMinute = currentMinute // 실행 완료 기록
|
||||
}
|
||||
}
|
||||
else if((now.hour == 8 || now.hour == 16 || now.hour == 17 || now.hour == 18 || now.hour == 19) && (currentMinute % 10 == 1) || (currentMinute % 10 == 6)) {
|
||||
else if((now.hour == 8 || now.hour == 16 || now.hour == 17 || now.hour == 18 || now.hour == 19) && (currentMinute % 2 == 1)) {
|
||||
if (lastForceCheckMinute != currentMinute) {
|
||||
TradingLogStore.addAnalyzer(
|
||||
" - ",
|
||||
|
||||
@ -3,6 +3,7 @@ package ui
|
||||
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.border
|
||||
import androidx.compose.foundation.horizontalScroll
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.foundation.lazy.LazyColumn
|
||||
import androidx.compose.foundation.lazy.grid.GridCells
|
||||
@ -10,6 +11,7 @@ import androidx.compose.foundation.lazy.grid.GridItemSpan
|
||||
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
|
||||
import androidx.compose.foundation.lazy.items
|
||||
import androidx.compose.foundation.lazy.rememberLazyListState
|
||||
import androidx.compose.foundation.rememberScrollState
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.foundation.text.KeyboardActions
|
||||
import androidx.compose.foundation.text.KeyboardOptions
|
||||
@ -61,7 +63,7 @@ fun TradingDecisionLog() {
|
||||
LaunchedEffect(AutoTradingManager.webSocketConnect) {
|
||||
webSocketConnect = AutoTradingManager.webSocketConnect
|
||||
}
|
||||
|
||||
val scrollState = rememberScrollState()
|
||||
|
||||
// [핵심] 원본 로그에서 필터 조건에 맞는 리스트만 산출
|
||||
val filteredLogs = TradingLogStore.decisionLogs.filter { log ->
|
||||
@ -110,7 +112,11 @@ fun TradingDecisionLog() {
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
|
||||
// 2. 필터 버튼 그룹 (Chip 형태)
|
||||
Row(horizontalArrangement = Arrangement.spacedBy(4.dp)) {
|
||||
Row(modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.horizontalScroll(scrollState),
|
||||
horizontalArrangement = Arrangement.spacedBy(4.dp),
|
||||
) {
|
||||
filterOptions.forEach { option ->
|
||||
val isSelected = selectedFilters.contains(option)
|
||||
FilterChip(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user