diff --git a/finlab_crypto/crawler.py b/finlab_crypto/crawler.py index d708158..6dc9ef6 100755 --- a/finlab_crypto/crawler.py +++ b/finlab_crypto/crawler.py @@ -85,7 +85,7 @@ def get_all_binance(symbol, kline_size, save=True, client=Client()): data['timestamp'] = pd.to_datetime(data['timestamp'], unit='ms') if len(data_df) > 0: temp_df = pd.DataFrame(data) - data_df = data_df.append(temp_df) + data_df = pd.concat([data_df, temp_df]) else: data_df = data data_df.set_index('timestamp', inplace=True)