This commit is contained in:
dsyoon
2023-12-12 01:37:57 +09:00
parent fbfab6d236
commit 3102d2352b
6 changed files with 63 additions and 85 deletions

View File

@@ -25,9 +25,6 @@ from stock.analysis.MACD import MACD
from stock.analysis.Envelope import Envelope
from stock.analysis.MovingAverage import MovingAverage
from hts.BuySellChecker import BuySellChecker
class AnalyzerSqlite:
stochastic = None
bolingerBand = None
@@ -45,8 +42,6 @@ class AnalyzerSqlite:
moving_avg = None
buySellChecker = None
def __init__(self, stockFileName=None):
self.common = Common()
@@ -57,8 +52,6 @@ class AnalyzerSqlite:
self.macd = MACD()
self.envelope = Envelope()
self.buySellChecker = BuySellChecker()
if stockFileName is not None:
self.stockFileName = stockFileName
self.topCompany = self.getTopCompany(stockFileName, 2000)