init
This commit is contained in:
@@ -169,9 +169,6 @@ class HTS_122630 (HTS):
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
week = datetime.today().weekday()
|
||||
if week in (0, 1, 2, 3, 4, 5, 6):
|
||||
|
||||
today = datetime.today()
|
||||
|
||||
PROJECT_HOME = os.getcwd()
|
||||
@@ -184,7 +181,7 @@ if __name__ == "__main__":
|
||||
|
||||
hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count)
|
||||
today_str = today.strftime('%Y%m%d')
|
||||
today_str = "20220908"
|
||||
today_str = "20220916"
|
||||
hts.buyRealTime(today_str)
|
||||
|
||||
db_filename = os.path.join(RESOURCE_PATH, "hts.db")
|
||||
|
||||
@@ -171,9 +171,6 @@ class HTS_252670 (HTS):
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
week = datetime.today().weekday()
|
||||
if week in (0, 1, 2, 3, 4):
|
||||
|
||||
today = datetime.today()
|
||||
|
||||
PROJECT_HOME = os.getcwd()
|
||||
@@ -186,7 +183,7 @@ if __name__ == "__main__":
|
||||
|
||||
hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count)
|
||||
today_str = today.strftime('%Y%m%d')
|
||||
#today_str = "20220908"
|
||||
#today_str = "20220916"
|
||||
hts.buyRealTime(today_str)
|
||||
|
||||
db_filename = os.path.join(RESOURCE_PATH, "hts.db")
|
||||
|
||||
BIN
resources/hts.db
BIN
resources/hts.db
Binary file not shown.
Reference in New Issue
Block a user