This commit is contained in:
dsyoon
2022-01-23 23:49:41 +09:00
parent 02c7ae73e9
commit 955b5d8e95

View File

@@ -549,7 +549,7 @@ class HTS_252670:
def buyRealTime(self, GIVEN_DAY): def buyRealTime(self, GIVEN_DAY):
orderChecker = OrderChecker(self.stock_code) orderChecker = OrderChecker(self.stock_code)
BASE_COUNT = 150 BASE_COUNT = 200
timecheckList = pd.read_csv("timecheck.csv").values.tolist() timecheckList = pd.read_csv("timecheck.csv").values.tolist()
timecheck = {GIVEN_DAY + " " + str(second).zfill(6):False for second, check in timecheckList} timecheck = {GIVEN_DAY + " " + str(second).zfill(6):False for second, check in timecheckList}
@@ -656,7 +656,7 @@ if __name__ == "__main__":
hts = HTS_252670(stock_code) hts = HTS_252670(stock_code)
given_day = datetime.today().strftime('%Y%m%d') given_day = datetime.today().strftime('%Y%m%d')
#hts.writeStockData(stock_code, "20220121") hts.writeStockData(stock_code, "20220120")
hts.buyRealTime(given_day) #hts.buyRealTime(given_day)
print ("done...") print ("done...")