...
This commit is contained in:
parent
2c736e687c
commit
9fefdc22f2
@ -329,9 +329,9 @@ fun TradingDecisionLog() {
|
|||||||
// --- 🛡️ 수익 및 리스크 관리 섹션 ---
|
// --- 🛡️ 수익 및 리스크 관리 섹션 ---
|
||||||
item(span = { GridItemSpan(maxLineSpan) }) {
|
item(span = { GridItemSpan(maxLineSpan) }) {
|
||||||
Column {
|
Column {
|
||||||
Spacer(modifier = Modifier.height(24.dp))
|
Spacer(modifier = Modifier.height(20.dp))
|
||||||
Divider(color = Color.LightGray, thickness = 1.dp)
|
Divider(color = Color.LightGray, thickness = 1.dp)
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(10.dp))
|
||||||
Text(
|
Text(
|
||||||
text = "🛡️ 수익 및 리스크 관리",
|
text = "🛡️ 수익 및 리스크 관리",
|
||||||
style = MaterialTheme.typography.subtitle2,
|
style = MaterialTheme.typography.subtitle2,
|
||||||
@ -345,12 +345,12 @@ fun TradingDecisionLog() {
|
|||||||
// 💡 2열 배치니까 각각 span = 3
|
// 💡 2열 배치니까 각각 span = 3
|
||||||
item(span = { GridItemSpan(3) }) {
|
item(span = { GridItemSpan(3) }) {
|
||||||
SettingSwitchField(
|
SettingSwitchField(
|
||||||
label = "자동 익절 활성화",
|
label = "보유 주식 자동 매도 활성화",
|
||||||
initialChecked = KisSession.config.getValues(ConfigIndex.TAKE_PROFIT) > 0.0,
|
initialChecked = KisSession.config.getValues(ConfigIndex.TAKE_PROFIT) > 0.0,
|
||||||
onCheckedChange = {
|
onCheckedChange = {
|
||||||
KisSession.config.setValues(ConfigIndex.TAKE_PROFIT, if (it) 1.0 else 0.0)
|
KisSession.config.setValues(ConfigIndex.TAKE_PROFIT, if (it) 1.0 else 0.0)
|
||||||
},
|
},
|
||||||
helperText = "목표 수익률 도달 시 기계적 익절"
|
helperText = "목표 수익률 ${KisSession.config.SELL_PROFIT} 도달 시 기계적 매도"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -396,9 +396,9 @@ fun TradingDecisionLog() {
|
|||||||
|
|
||||||
item(span = { GridItemSpan(maxLineSpan) }) {
|
item(span = { GridItemSpan(maxLineSpan) }) {
|
||||||
Column {
|
Column {
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(10.dp))
|
||||||
Divider(color = Color.LightGray, thickness = 1.dp)
|
Divider(color = Color.LightGray, thickness = 1.dp)
|
||||||
Spacer(modifier = Modifier.height(24.dp))
|
Spacer(modifier = Modifier.height(20.dp))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user