try except deletion

This commit is contained in:
dsyoon
2021-10-26 00:15:04 +09:00
parent b6ec663d63
commit 8256b6fcc8
4 changed files with 775 additions and 11 deletions

View File

@@ -547,7 +547,7 @@ class HTS_252670:
def buyRealTime(self, stock_code, GIVEN_DAY):
orderChecker = OrderChecker(stock_code)
BASE_COUNT = 300
BASE_COUNT = 100
timecheckList = pd.read_csv("timecheck.csv").values.tolist()
timecheck = {GIVEN_DAY + " " + str(second).zfill(6):False for second, check in timecheckList}
@@ -653,7 +653,7 @@ if __name__ == "__main__":
stock_codes = ["252670"]
given_day = datetime.today().strftime('%Y%m%d')
#hts.writeStockData(stock_codes, "20211022")
#hts.writeStockData(stock_codes, "20211025")
hts.buyRealTime(stock_codes[0], given_day)
print ("done...")