This commit is contained in:
dsyoon
2023-01-21 19:29:02 +09:00
parent 0773343fb4
commit 4a453f36b6
6 changed files with 574 additions and 25 deletions

View File

@@ -9,7 +9,6 @@ from hts.OrderType import OrderType
from hts.BuySellChecker import BuySellChecker
from hts.OrderChecker import OrderChecker
from stock.util.LabelChecker import LabelChecker
class HTS_DAILY (HTS):
@@ -117,7 +116,7 @@ class HTS_DAILY (HTS):
continue
# 분석일 데이터만 활용한다 (이전 데이터는 제거)
data.drop(data.index[:self.analyzed_day], inplace=True)
data.drop(data.index[:len(data) - self.analyzed_day], inplace=True)
bsLine, data = self.buySellChecker.checkTransactionWithEnvelope(data, stock_code, self.analyzed_day, isRealTime=False)