init
This commit is contained in:
@@ -212,7 +212,7 @@ class HTS:
|
|||||||
self.bot.post(stock_code, stock_code, "SELL", price, count)
|
self.bot.post(stock_code, stock_code, "SELL", price, count)
|
||||||
print ("(SELL", count, price, ")")
|
print ("(SELL", count, price, ")")
|
||||||
else:
|
else:
|
||||||
self.bot.post_to_slack(stock_code, stock_code, "BUY", price, count)
|
self.bot.post(stock_code, stock_code, "BUY", price, count)
|
||||||
print ("(BUY", count, price, ")")
|
print ("(BUY", count, price, ")")
|
||||||
return orderNum
|
return orderNum
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user