init
This commit is contained in:
@@ -86,8 +86,8 @@ class HTS_Stocks (HTS):
|
|||||||
if datetime.strptime(today + " 080000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'):
|
if datetime.strptime(today + " 080000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'):
|
||||||
|
|
||||||
if len(today_stock) < 1:
|
if len(today_stock) < 1:
|
||||||
time.sleep(600)
|
|
||||||
self.sellStocks()
|
self.sellStocks()
|
||||||
|
time.sleep(600)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
buy_stock = []
|
buy_stock = []
|
||||||
|
|||||||
Reference in New Issue
Block a user