This commit is contained in:
dsyoon
2022-04-22 03:54:10 +09:00
parent c52da139e6
commit 32032882d0

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 = 200 BASE_COUNT = 40
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}
@@ -660,7 +660,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, "20220128") #hts.writeStockData(stock_code, "20220421")
hts.buyRealTime(given_day) hts.buyRealTime(given_day)
print ("done...") print ("done...")