This commit is contained in:
dsyoon
2022-02-03 11:51:10 +09:00
parent 7ca0ac80ee
commit 1f1122c6b0
2 changed files with 8 additions and 5 deletions

View File

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