init
This commit is contained in:
@@ -47,8 +47,8 @@ class MonitorStock (Monitor):
|
||||
if data is not None and not data.empty:
|
||||
try:
|
||||
data = self.calculate_technical_indicators(data)
|
||||
recent_data = self.check_buy_point(symbol, data)
|
||||
if recent_data['buy_point'].iloc[-1] != 1:
|
||||
recent_data = self.check_point(symbol, data)
|
||||
if recent_data['point'].iloc[-1] != 1:
|
||||
continue
|
||||
print(f" - {US_STOCKS[symbol]} ({symbol}): {recent_data['Close'].iloc[-1]:.2f}")
|
||||
message_list.append(
|
||||
@@ -73,8 +73,8 @@ class MonitorStock (Monitor):
|
||||
if data is not None and not data.empty:
|
||||
try:
|
||||
data = self.calculate_technical_indicators(data)
|
||||
recent_data = self.check_buy_point(symbol, data)
|
||||
if recent_data['buy_point'].iloc[-1] != 1:
|
||||
recent_data = self.check_point(symbol, data)
|
||||
if recent_data['point'].iloc[-1] != 1:
|
||||
continue
|
||||
print(f" - {KR_ETFS[symbol]} ({symbol}): {recent_data['Close'].iloc[-1]:.2f}")
|
||||
message_list.append(
|
||||
|
||||
Reference in New Issue
Block a user