init
This commit is contained in:
@@ -549,7 +549,7 @@ class HTS_252670:
|
||||
|
||||
def buyRealTime(self, GIVEN_DAY):
|
||||
orderChecker = OrderChecker(self.stock_code)
|
||||
BASE_COUNT = 150
|
||||
BASE_COUNT = 200
|
||||
|
||||
timecheckList = pd.read_csv("timecheck.csv").values.tolist()
|
||||
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)
|
||||
given_day = datetime.today().strftime('%Y%m%d')
|
||||
|
||||
#hts.writeStockData(stock_code, "20220121")
|
||||
hts.buyRealTime(given_day)
|
||||
hts.writeStockData(stock_code, "20220120")
|
||||
#hts.buyRealTime(given_day)
|
||||
|
||||
print ("done...")
|
||||
|
||||
Reference in New Issue
Block a user