init
This commit is contained in:
@@ -188,6 +188,7 @@ if __name__ == "__main__":
|
||||
|
||||
# KODEX 인버스 * 2
|
||||
stock_code = "122630"
|
||||
stock_name = "KODEX 레버리지"
|
||||
buy_count = 80
|
||||
|
||||
hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count)
|
||||
@@ -203,6 +204,6 @@ if __name__ == "__main__":
|
||||
hts.writeStockData(stock_code, today_str)
|
||||
|
||||
db_filename = os.path.join(RESOURCE_PATH, "hts.db")
|
||||
hts.insertStockData(db_filename, stock_code, "KODEX 레버리지", today_str)
|
||||
hts.insertStockData(db_filename, stock_code, stock_name, today_str)
|
||||
|
||||
print ("done...")
|
||||
|
||||
Reference in New Issue
Block a user