..
This commit is contained in:
parent
ce976a895d
commit
4dff629861
@ -81,7 +81,8 @@ object AutoTradingManager {
|
|||||||
|
|
||||||
// [프로세스 1] 장 마감 및 잔고 체크
|
// [프로세스 1] 장 마감 및 잔고 체크
|
||||||
val now = LocalTime.now(ZoneId.of("Asia/Seoul"))
|
val now = LocalTime.now(ZoneId.of("Asia/Seoul"))
|
||||||
if (now.isAfter(LocalTime.of(15, 30)) && now.isBefore(LocalTime.of(15, 30))) {
|
//&& now.isBefore(LocalTime.of(15, 30))
|
||||||
|
if (now.isAfter(LocalTime.of(15, 30)) ) {
|
||||||
executeClosingLiquidation(tradeService)
|
executeClosingLiquidation(tradeService)
|
||||||
return@withTimeout
|
return@withTimeout
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user