This commit is contained in:
dsyoon
2023-01-28 20:23:32 +09:00
parent 29eac27ba4
commit 395788dad2

View File

@@ -646,15 +646,6 @@ class Bithumb_minute(HTS):
order_log_df['datetime'] = order_log_df.index
order_log_df.to_csv(order_log_filename, index=False)
# 한번 매수 후 n분 이후 매수하기 위함
indexes2 = buy_history_df.index.tolist()
indexes2.append(datetime_value)
buy_history_df = buy_history_df.append(value_df, ignore_index=True)
buy_history_df.index = indexes2
buy_history_df['datetime'] = buy_history_df.index
buy_history_df.to_csv(order_log_filename, index=False)
# 파일에 매수 시점 그래프
dirName = os.path.join(RESOURCE_PATH, 'analysis', 'bithumb')
self.writeFile(dirName, ticker, stock1, bsLine, 'buy')