...
This commit is contained in:
parent
aa890933f0
commit
8d94197d68
@ -542,12 +542,12 @@ object AutoTradingManager {
|
|||||||
println("🚀 [AutoTrading] 발굴 루프 시작: ${LocalDateTime.now()}")
|
println("🚀 [AutoTrading] 발굴 루프 시작: ${LocalDateTime.now()}")
|
||||||
while (isActive) {
|
while (isActive) {
|
||||||
try {
|
try {
|
||||||
listOf<String>("Y","X").forEach { code ->
|
// listOf<String>("Y","X").forEach { code ->
|
||||||
KisTradeService.fetchIntegratedBalance(code).getOrNull()?.let {
|
// KisTradeService.fetchIntegratedBalance(code).getOrNull()?.let {
|
||||||
sellingAfterMarketOnePrice(KisTradeService, it, code)
|
// sellingAfterMarketOnePrice(KisTradeService, it, code)
|
||||||
}
|
// }
|
||||||
delay(1000)
|
// delay(1000)
|
||||||
}
|
// }
|
||||||
now = LocalTime.now(ZoneId.of("Asia/Seoul"))
|
now = LocalTime.now(ZoneId.of("Asia/Seoul"))
|
||||||
currentTimeMillis = System.currentTimeMillis()
|
currentTimeMillis = System.currentTimeMillis()
|
||||||
lastTickTime.set(System.currentTimeMillis()) // 생존 신고
|
lastTickTime.set(System.currentTimeMillis()) // 생존 신고
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user