From d909482262c29aff21160040f372a7f19adf89f5 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Fri, 27 Jan 2023 00:33:37 +0900 Subject: [PATCH] init --- HTS_daily.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTS_daily.py b/HTS_daily.py index 13034a5..12e9fb0 100644 --- a/HTS_daily.py +++ b/HTS_daily.py @@ -125,7 +125,7 @@ class HTS_DAILY (HTS): if bsLine['buy'][last_index] > 0: bs_buy_price = bsLine['buy'][last_index] bs_buy_weight = bsLine['buy_weight'][last_index] - if stock_code == "252670": + if stock_code == "252670" or stock_code == "122630": buy_count = int(5000000 / bs_buy_price) else: buy_count = int((self.MAX_BUY_PRICE*bs_buy_weight) / bs_buy_price)