This commit is contained in:
dsyoon
2023-01-21 22:17:59 +09:00
parent 9cf46d5116
commit 0076f26df0
2 changed files with 2 additions and 4 deletions

View File

@@ -690,6 +690,7 @@ class Bithumb_minute(HTS):
data.drop(data.index[:len(data) - analyzed_day], inplace=True)
bsLine, data = self.checkWithEnvelope(data, analyzed_day, isRealTime=isRealTime)
print(ticker, datetime.now().strftime('%Y-%m-%d %H:%M:%S'), data['slow_k'][len(data['slow_k'])-1])
# 그래프를 그린다.
if len(data.index) > 10:
@@ -741,10 +742,8 @@ if __name__ == "__main__":
if isRealTime:
while True:
for ticker in tickers:
print(ticker, datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
bithumb.buyRealTime(ticker, isRealTime)
time.sleep(60)
else:
for ticker in tickers:
print(ticker, datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
bithumb.buyRealTime(ticker, isRealTime)