plotguy 2.1.5__tar.gz → 2.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plotguy-2.1.5 → plotguy-2.1.6}/PKG-INFO +1 -1
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy/__init__.py +8 -3
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy.egg-info/PKG-INFO +1 -1
- {plotguy-2.1.5 → plotguy-2.1.6}/setup.py +1 -1
- {plotguy-2.1.5 → plotguy-2.1.6}/README.md +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy/aggregate.py +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy/components.py +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy/equity_curves.py +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy/signals.py +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy.egg-info/SOURCES.txt +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy.egg-info/dependency_links.txt +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy.egg-info/requires.txt +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/plotguy.egg-info/top_level.txt +0 -0
- {plotguy-2.1.5 → plotguy-2.1.6}/setup.cfg +0 -0
|
@@ -60,8 +60,13 @@ def get_all_para_combination(para_dict, backtest_attribute, df_dict, sec_profile
|
|
|
60
60
|
|
|
61
61
|
all_para_combination[ref_code] = para_combination
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
print('5 second countdown before running backtest()')
|
|
64
|
+
for i in range(5):
|
|
65
|
+
print(5 - i)
|
|
66
|
+
time.sleep(1)
|
|
67
|
+
print(0)
|
|
68
|
+
|
|
69
|
+
print(datetime.datetime.now().strftime('%H:%M:%S'), 'start running backtest()')
|
|
65
70
|
|
|
66
71
|
return all_para_combination
|
|
67
72
|
|
|
@@ -223,7 +228,7 @@ def save_backtest_result(df, para_combination_item):
|
|
|
223
228
|
|
|
224
229
|
######## resample to daily #############
|
|
225
230
|
if 'summary_mode' in para_combination:
|
|
226
|
-
if
|
|
231
|
+
if para_combination['summary_mode']:
|
|
227
232
|
eqiuty_curve_non_summary_save_path = os.path.join('', equity_curve_folder, f'{ref_code}_non-summary-intraday.parquet')
|
|
228
233
|
df.to_parquet(eqiuty_curve_non_summary_save_path)
|
|
229
234
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|