...
This commit is contained in:
parent
18478e58d4
commit
6e7f485988
@ -34,18 +34,18 @@ object ConfigTable : Table("app_config") {
|
||||
val nSecretKey = varchar("naver_secret_key", 255).default("")
|
||||
val dAppKey = varchar("dart_api_key", 255).default("")
|
||||
|
||||
val isSimulation = bool("is_simulation").default(true)
|
||||
val isSimulation = bool("is_simulation").default(false)
|
||||
val modelPath = varchar("model_path", 512).default("")
|
||||
val embedModelPath = varchar("embed_model_path", 512).default("")
|
||||
val htsId = varchar("hts_id", 50).default("") // HTS ID 컬럼 추가
|
||||
val fees_and_taxrate = double("fees_and_taxrate").default( 0.33)
|
||||
val minimum_net_profit = double("minimum_net_profit").default( 0.8)
|
||||
val minimum_net_profit = double("minimum_net_profit").default( 0.5)
|
||||
val buy_weight = double("buy_weight").default( 2.0)
|
||||
val max_budget = double("max_budget").default( 80000.0)
|
||||
val max_price = double("max_price").default( 40000.0)
|
||||
val min_price = double("min_price").default( 800.0)
|
||||
val min_purchase_score = double("min_purchase_score").default( 65.0)
|
||||
val sell_profit = double("sell_profit").default( 1.3)
|
||||
val sell_profit = double("sell_profit").default( 1.0)
|
||||
val grade_5_buy = integer("grade_5_buy").default(0)
|
||||
val grade_5_profit = double("grade_5_profit").default(1.8)
|
||||
val grade_4_buy = integer("grade_4_buy").default(1)
|
||||
|
||||
@ -642,7 +642,7 @@ object AutoTradingManager {
|
||||
}
|
||||
}
|
||||
|
||||
(AutoTradingManager.now.isAfter(LocalTime.of(18, 30))) -> {
|
||||
(AutoTradingManager.now.isAfter(LocalTime.of(18, 20))) -> {
|
||||
try {
|
||||
waitTime = 5.0
|
||||
println("current SystemCleanedUpToday is $isSystemCleanedUpToday")
|
||||
@ -780,7 +780,7 @@ object AutoTradingManager {
|
||||
}
|
||||
while (System.currentTimeMillis() < endWait && isRunning()) {
|
||||
lastTickTime.set(System.currentTimeMillis()) // 대기 중에도 Watchdog에 생존 신고
|
||||
println("💤 대기 모드 상태 확인...")
|
||||
println("💤 대기 모드 상태 확인...$minutes")
|
||||
delay(if(minutes > 3.0 ) 10000 else 1000)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user