try except deletion
This commit is contained in:
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user