This commit is contained in:
dosang.yoon
2022-07-08 15:25:03 +09:00
parent bcf8af614f
commit 3d1f73c087
5 changed files with 31 additions and 198 deletions

View File

@@ -146,6 +146,8 @@ class HTS_122630 (HTS):
self.cancelOrderList(orderList)
# 매도 가격을 가져온다.
result = self.getRealTime(self.stock_code, lastday, today)
final_price = result["close"][len(result["close"])-1]
selling_count, selling_price = self.getSellingPrice(final_price)
# 분석되 가격으로 매도 요청한다.
if selling_count != 0 and selling_price != 0: