init
This commit is contained in:
@@ -179,7 +179,7 @@ class HTS_etf (HTS):
|
||||
self.cancelOrderList(orderList)
|
||||
|
||||
# 매도 가격을 가져온다.
|
||||
result = self.getRealTime(stock['stock_code'], today, LAST_DATA)
|
||||
result = self.getRealTime(stock['stock_code'], today, LAST_DATA[stock['stock_code']])
|
||||
final_price = result["close"][len(result["close"]) - 1]
|
||||
|
||||
orderNum, sell_time, jango, sell_price = self.getSellingPrice(THIS_TIME, stock['stock_code'], final_price, without_loss=True)
|
||||
|
||||
Reference in New Issue
Block a user