This commit is contained in:
dsyoon
2022-02-03 10:31:59 +09:00
parent fe4d95267a
commit 7b9b22e1ca

View File

@@ -616,7 +616,7 @@ class HTS_252670:
print("SELL", THIS_TIME.strftime('%Y%m%d %H%M%S'), selling_count, selling_price, len(orderListToCancel), len(ORDER_LIST)) print("SELL", THIS_TIME.strftime('%Y%m%d %H%M%S'), selling_count, selling_price, len(orderListToCancel), len(ORDER_LIST))
""" """
# 로그 출력 # 로그 출력
print("TIMECHECK", THIS_TIME, final_price, data["low"][data_size-1], data["slow_k"][data_size-1], data["slow_d"][data_size-1]) print("TIMECHECK: %s, price: %d, low: %d, lower: %.2f, slow_k: %.2f, rsi: %.2f"%(str(THIS_TIME), final_price, data["low"][data_size-1], data["lower"][data_size-1], data["slow_k"][data_size-1], data["rsi"][data_size-1]))
timecheck[THIS_TIME] = True timecheck[THIS_TIME] = True
""" """
if datetime.strptime(GIVEN_DAY + " 151530", '%Y%m%d %H%M%S') < THIS_TIME: if datetime.strptime(GIVEN_DAY + " 151530", '%Y%m%d %H%M%S') < THIS_TIME: