...
This commit is contained in:
@@ -41,7 +41,8 @@ fun StockDetailSection(
|
||||
holdingQuantity : String,
|
||||
isDomestic: Boolean,
|
||||
tradeService: KisTradeService,
|
||||
wsManager: KisWebSocketManager
|
||||
wsManager: KisWebSocketManager,
|
||||
onOrderSaved: (String) -> Unit
|
||||
) {
|
||||
|
||||
var openPrice by remember { mutableStateOf("0") }
|
||||
@@ -220,6 +221,7 @@ fun StockDetailSection(
|
||||
currentPrice = wsManager.currentPrice.value,
|
||||
holdingQuantity = holdingQuantity,
|
||||
tradeService = tradeService,
|
||||
onOrderSaved = onOrderSaved,
|
||||
onOrderResult = { msg, success ->
|
||||
resultMessage = msg
|
||||
isSuccess = success
|
||||
|
||||
Reference in New Issue
Block a user