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

@@ -192,6 +192,7 @@ if __name__ == "__main__":
# KODEX 인버스 * 2
stock_code = "252670"
stock_name = "KODEX 200선물인버스2X"
buy_count = 100
hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count)
@@ -207,6 +208,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 200선물인버스2X", today_str)
hts.insertStockData(db_filename, stock_code, stock_name, today_str)
print ("done...")