init
This commit is contained in:
@@ -615,7 +615,7 @@ class Bithumb_minute(HTS):
|
|||||||
order_log_df.set_index('datetime', inplace=True)
|
order_log_df.set_index('datetime', inplace=True)
|
||||||
|
|
||||||
# 한번 매수 후 n시간 이후 매수하기 위함
|
# 한번 매수 후 n시간 이후 매수하기 위함
|
||||||
buy_history_filename = os.path.join(RESOURCE_PATH, 'order', "bithumb" + "_" + self.TODAY + '.log')
|
buy_history_filename = os.path.join(RESOURCE_PATH, 'order', "bithumb_buy_" + "_" + self.TODAY + '.log')
|
||||||
if os.path.exists(buy_history_filename):
|
if os.path.exists(buy_history_filename):
|
||||||
buy_history_df = pd.read_csv(buy_history_filename)
|
buy_history_df = pd.read_csv(buy_history_filename)
|
||||||
buy_history_df.columns = ["type", "order0", "order1", "order2", "order3", "slow_k_30", "slow_k_5", "price", "count", "datetime"]
|
buy_history_df.columns = ["type", "order0", "order1", "order2", "order3", "slow_k_30", "slow_k_5", "price", "count", "datetime"]
|
||||||
|
|||||||
Reference in New Issue
Block a user