plotguy 2.3.0__tar.gz → 2.3.1__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.0 → plotguy-2.3.1}/PKG-INFO +1 -1
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy/__init__.py +18 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy.egg-info/PKG-INFO +1 -1
- {plotguy-2.3.0 → plotguy-2.3.1}/setup.py +1 -1
- {plotguy-2.3.0 → plotguy-2.3.1}/README.md +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy/aggregate.py +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy/components.py +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy/equity_curves.py +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy/signals.py +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy.egg-info/SOURCES.txt +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy.egg-info/dependency_links.txt +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy.egg-info/requires.txt +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/plotguy.egg-info/top_level.txt +0 -0
- {plotguy-2.3.0 → plotguy-2.3.1}/setup.cfg +0 -0
|
@@ -24,6 +24,24 @@ from bs4 import BeautifulSoup
|
|
|
24
24
|
|
|
25
25
|
def get_all_para_combination(para_dict, backtest_attribute, df_dict, sec_profile, manager_list, count_down=False):
|
|
26
26
|
|
|
27
|
+
key_to_keep = ['start_date',
|
|
28
|
+
'end_date',
|
|
29
|
+
'freq',
|
|
30
|
+
'market',
|
|
31
|
+
'sectype',
|
|
32
|
+
'initial_capital',
|
|
33
|
+
'data_folder',
|
|
34
|
+
'equity_curve_folder',
|
|
35
|
+
'secondary_data_folder',
|
|
36
|
+
'backtest_name',
|
|
37
|
+
'default_market_price',
|
|
38
|
+
'summary_mode']
|
|
39
|
+
|
|
40
|
+
for k in backtest_attribute.copy().keys():
|
|
41
|
+
if k not in key_to_keep:
|
|
42
|
+
del backtest_attribute[k]
|
|
43
|
+
|
|
44
|
+
|
|
27
45
|
risk_free_rate = get_risk_free_rate(backtest_attribute['start_date'], backtest_attribute['end_date'])
|
|
28
46
|
|
|
29
47
|
freq = backtest_attribute['freq']
|
|
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
|