...
This commit is contained in:
parent
df5febfb42
commit
4a72a30ab6
@ -411,7 +411,7 @@ object AutoTradingManager {
|
||||
watchdogJob = scope.launch {
|
||||
val activeTrades = DatabaseFactory.findAllMonitoringTrades()
|
||||
var now = LocalTime.now(ZoneId.of("Asia/Seoul"))
|
||||
if (activeTrades.isNotEmpty() && KisSession.isAvailBuyTime(now) == false) {
|
||||
if (activeTrades.isNotEmpty()) {
|
||||
executeClosingLiquidation(activeTrades)
|
||||
}
|
||||
while (isActive) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user