This commit is contained in:
2026-01-19 17:09:37 +09:00
parent bdc268e325
commit 91f9e4ee9a
20 changed files with 786 additions and 974 deletions
+5
View File
@@ -38,6 +38,7 @@ import kotlin.collections.isNotEmpty
fun StockDetailSection(
stockCode: String,
stockName: String,
holdingQuantity : String,
isDomestic: Boolean,
tradeService: KisTradeService,
wsManager: KisWebSocketManager
@@ -153,6 +154,7 @@ fun StockDetailSection(
previousClose = previousClose,
openPrice = openPrice,
resultMessage = resultMessage,
resultMessageClear = {resultMessage = ""},
isSuccess = isSuccess
)
@@ -213,7 +215,10 @@ fun StockDetailSection(
Column(modifier = Modifier.weight(0.6f)) {
IntegratedOrderSection(
stockCode = stockCode,
stockName = stockName,
isDomestic = isDomestic,
currentPrice = wsManager.currentPrice.value,
holdingQuantity = holdingQuantity,
tradeService = tradeService,
onOrderResult = { msg, success ->
resultMessage = msg