plotguy 2.3.6__tar.gz → 2.3.8__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.3.6 → plotguy-2.3.8}/PKG-INFO +1 -1
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy/__init__.py +6 -6
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy/aggregate.py +2 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy.egg-info/PKG-INFO +1 -1
- {plotguy-2.3.6 → plotguy-2.3.8}/setup.py +1 -1
- {plotguy-2.3.6 → plotguy-2.3.8}/README.md +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy/components.py +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy/equity_curves.py +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy/signals.py +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy.egg-info/SOURCES.txt +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy.egg-info/dependency_links.txt +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy.egg-info/requires.txt +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/plotguy.egg-info/top_level.txt +0 -0
- {plotguy-2.3.6 → plotguy-2.3.8}/setup.cfg +0 -0
|
@@ -571,12 +571,12 @@ def su_table_converter():
|
|
|
571
571
|
para_items_str += para_key + '=' + para_value + '|'
|
|
572
572
|
para_items_str = para_items_str[:-1]
|
|
573
573
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
574
|
+
su_dict['backtest_name'].append(backtest_name)
|
|
575
|
+
su_dict['code'].append(code)
|
|
576
|
+
su_dict['freq'].append(freq)
|
|
577
|
+
su_dict['para_items_str'].append(para_items_str)
|
|
578
|
+
su_dict['equity_mdd_pct'].append(equity_mdd_pct)
|
|
579
|
+
su_dict['initial_capital'].append(initial_capital)
|
|
580
580
|
|
|
581
581
|
su_table = pd.DataFrame(su_dict)
|
|
582
582
|
return su_table
|
|
@@ -243,6 +243,8 @@ class Aggregate:
|
|
|
243
243
|
# backtest_name_list = list(df_show_agg_checked['backtest_name'])
|
|
244
244
|
# equity_path_list = list(df_show_agg_checked['equity_path'])
|
|
245
245
|
|
|
246
|
+
df_show_agg_checked = df_show_agg_checked.drop_duplicates('ref_code')
|
|
247
|
+
|
|
246
248
|
# Aggregate Equity
|
|
247
249
|
df_list = []
|
|
248
250
|
|
|
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
|