init
This commit is contained in:
@@ -232,7 +232,7 @@ class HTS_Stocks (HTS):
|
||||
data.drop(data.index[:len(data) - self.analyzed_day], inplace=True)
|
||||
bsLine, data = self.buySellChecker.checkTransactionWithEnvelope(data, stock_code, self.analyzed_day, isRealTime=False)
|
||||
|
||||
slow_k, p_slow_k, slow_k_week, p_slow_k_week, slow_k_month, p_slow_k_month = self.getSlowK(stock['stock_code'])
|
||||
slow_k, p_slow_k, slow_k_week, p_slow_k_week, slow_k_month, p_slow_k_month = self.getSlowK(stock_code)
|
||||
if ((0 < slow_k_week < 30 and 0 < slow_k_month < 30) and
|
||||
not ((20 < slow_k_week and slow_k_week < p_slow_k_week) or (20 < slow_k_month and slow_k_month < p_slow_k_month))):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user