From e282041dd2f14967208a2cdaa5e0338e300c2037 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Wed, 15 Mar 2023 09:29:31 +0900 Subject: [PATCH] init --- HTS_index_etf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTS_index_etf.py b/HTS_index_etf.py index 793f042..3ea5b59 100644 --- a/HTS_index_etf.py +++ b/HTS_index_etf.py @@ -272,7 +272,7 @@ class HTS_etf (HTS): if bs_buy_price > 1000: - if not self.orderChecker.exist(today, "A" + stock['stock_code'], hours=9): + if not self.orderChecker.exist(today, "A" + stock['stock_code'], hours=1): buy_count = self.getBuyCount(stock['stock_code'], bs_buy_price, slow_k_kospi, p_slow_k_kospi, slow_k_week_kospi, p_slow_k_week_kospi, slow_k_month_kospi, p_slow_k_month_kospi) if buy_count > 0: