This commit is contained in:
dosangyoon
2022-07-29 16:26:22 +09:00
parent d1dafd524b
commit 801b650980
5 changed files with 88 additions and 8 deletions

View File

@@ -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...")