|
@@ -183,8 +183,8 @@ def to_df(lt):
|
|
|
'最小盈利', '总亏损', '平均亏损', '最大亏损', '最小亏损'])
|
|
|
df.sort_values(by=['周期', '波动率', '量能增长率'], ascending=True, inplace=True)
|
|
|
df = df.reset_index(drop=True)
|
|
|
- # df.to_csv(f"D:\Daniel\策略\策略穷举{dt.now().strftime('%Y%m%d')}.csv", index=True, encoding='utf-8', mode='w')
|
|
|
- df.to_csv(f"/Users/daniel/Documents/策略/策略穷举{dt.now().strftime('%Y%m%d')}.csv", index=True, encoding='utf-8', mode='w')
|
|
|
+ df.to_csv(f"D:\Daniel\策略\策略穷举{dt.now().strftime('%Y%m%d')}.csv", index=True, encoding='utf-8', mode='w')
|
|
|
+ # df.to_csv(f"/Users/daniel/Documents/策略/策略穷举{dt.now().strftime('%Y%m%d')}.csv", index=True, encoding='utf-8', mode='w')
|
|
|
print(df)
|
|
|
|
|
|
|