This commit is contained in:
dsyoon
2023-12-15 09:29:09 +09:00
parent fcf6a47377
commit 649d0fa002
2 changed files with 5 additions and 3 deletions

View File

@@ -208,12 +208,14 @@ class HTS:
orderNum = objStockOrder.GetHeaderValue(0)
"""
if (type == "1"):
self.bot.post(stock_code, stock_code, "SELL", price, count, 0)
print ("(SELL", count, price, ")")
else:
self.bot.post(stock_code, stock_code, "BUY", price, count, 0)
print ("(BUY", count, price, ")")
"""
return orderNum
# 계좌 잔고 확인