Export data to csv
This commit is contained in:
@@ -808,6 +808,7 @@ class Zeus_8_3_2_B_4_2(IStrategy):
|
|||||||
if self.dp.runmode.value in ('backtest'):
|
if self.dp.runmode.value in ('backtest'):
|
||||||
today = datetime.now().strftime("%Y-%m-%d-%H:%M:%S")
|
today = datetime.now().strftime("%Y-%m-%d-%H:%M:%S")
|
||||||
dataframe.to_feather(f"user_data/data/binance/{today}-{metadata['pair'].replace('/', '_')}_df.feather")
|
dataframe.to_feather(f"user_data/data/binance/{today}-{metadata['pair'].replace('/', '_')}_df.feather")
|
||||||
|
dataframe.to_csv(f"user_data/data/binance/{today}-{metadata['pair'].replace('/', '_')}_df.csv")
|
||||||
#
|
#
|
||||||
# df = dataframe
|
# df = dataframe
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user