...
This commit is contained in:
@@ -139,6 +139,10 @@ fun main() = application {
|
||||
} else {
|
||||
when (currentScreen) {
|
||||
AppScreen.Settings -> {
|
||||
AutoTradingManager.onMarketClosed = {
|
||||
println("프로그램 초기화 실행됨")
|
||||
currentScreen = AppScreen.Settings
|
||||
}
|
||||
SettingsScreen(
|
||||
onAuthSuccess = {
|
||||
|
||||
@@ -146,6 +150,7 @@ fun main() = application {
|
||||
val config = KisSession.config
|
||||
AutoTradingManager.isSystemReadyToday = true
|
||||
AutoTradingManager.isSystemCleanedUpToday = false
|
||||
|
||||
CoroutineScope(Dispatchers.Default).launch {
|
||||
AutoTradingManager.startAutoDiscoveryLoop()
|
||||
KisWebSocketManager.onExecutionReceived = AutoTradingManager.onExecutionReceived
|
||||
|
||||
Reference in New Issue
Block a user