init
This commit is contained in:
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user