plotguy 2.3.4__tar.gz → 2.3.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.3.4 → plotguy-2.3.6}/PKG-INFO +1 -1
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy/__init__.py +2 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy/components.py +4 -1
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy.egg-info/PKG-INFO +1 -1
- {plotguy-2.3.4 → plotguy-2.3.6}/setup.py +1 -1
- {plotguy-2.3.4 → plotguy-2.3.6}/README.md +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy/aggregate.py +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy/equity_curves.py +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy/signals.py +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy.egg-info/SOURCES.txt +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy.egg-info/dependency_links.txt +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy.egg-info/requires.txt +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/plotguy.egg-info/top_level.txt +0 -0
- {plotguy-2.3.4 → plotguy-2.3.6}/setup.cfg +0 -0
|
@@ -1002,7 +1002,10 @@ class Components:
|
|
|
1002
1002
|
year_count.append(int(total_dict[f'{year} Count']))
|
|
1003
1003
|
year_count_col.append(html.Div(int(total_dict[f'{year} Count'])))
|
|
1004
1004
|
|
|
1005
|
-
|
|
1005
|
+
if total_dict[f'{year} Win Count'] > 0:
|
|
1006
|
+
rate = total_dict[f'{year} Win Count']/total_dict[f'{year} Count']
|
|
1007
|
+
else:
|
|
1008
|
+
rate = 0
|
|
1006
1009
|
year_win_rate_col.append(html.Div( "{:.0%}".format(rate) ))
|
|
1007
1010
|
|
|
1008
1011
|
year_return = total_dict[f'{year}_return']
|
|
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
|