init
This commit is contained in:
@@ -209,6 +209,7 @@ if __name__ == "__main__":
|
||||
|
||||
PROJECT_HOME = os.path.join(os.path.dirname(os.path.join(os.path.dirname(__file__))))
|
||||
RESOURCE_DIR = PROJECT_HOME + "/resources/analysis/"+today.strftime("%Y%m%d")
|
||||
"""
|
||||
files = os.listdir(RESOURCE_DIR)
|
||||
|
||||
stocks = []
|
||||
@@ -224,10 +225,10 @@ if __name__ == "__main__":
|
||||
name = arrTemp[0]
|
||||
cd = arrTemp[1][:arrTemp[1].find(".")]
|
||||
stocks.append((flag, p, b, s, state, buy, name, cd))
|
||||
|
||||
"""
|
||||
hts = HTS()
|
||||
hts.all_stocks()
|
||||
#hts.all_stocks()
|
||||
|
||||
stock_code = "094860"
|
||||
stock_code = "252670"
|
||||
hts.currentStock(stock_code)
|
||||
print ("done...")
|
||||
Reference in New Issue
Block a user