init
This commit is contained in:
@@ -420,7 +420,7 @@ class HTS_etf(HTS):
|
|||||||
isFirst = 0
|
isFirst = 0
|
||||||
while datetime.strptime(today + " 060000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 153100",'%Y%m%d %H%M%S'):
|
while datetime.strptime(today + " 060000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 153100",'%Y%m%d %H%M%S'):
|
||||||
|
|
||||||
if datetime.strptime(today + " 090000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'):
|
if datetime.strptime(today + " 090100", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'):
|
||||||
|
|
||||||
for stock in stocks:
|
for stock in stocks:
|
||||||
stock_code = stock['stock_code']
|
stock_code = stock['stock_code']
|
||||||
|
|||||||
Reference in New Issue
Block a user