plotguy 2.0.2__tar.gz → 2.0.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotguy
3
- Version: 2.0.2
3
+ Version: 2.0.5
4
4
  Summary: Plotguy
5
5
  Home-page: https://pypi.org/project/plotguy/
6
6
  Author: Plotguy Team
@@ -9,7 +9,7 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Operating System :: OS Independent
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: pandas==2.3.3
12
- Requires-Dist: steptools
12
+ Requires-Dist: stepuptools
13
13
  Requires-Dist: numpy==2.4.2
14
14
  Requires-Dist: hkfdb
15
15
  Requires-Dist: pyarrow==23.0.0
@@ -160,6 +160,8 @@ def save_backtest_result(df, para_combination_item):
160
160
 
161
161
  if len(df_count) == 0:
162
162
  num_of_trade = 0
163
+
164
+ equity_net_profit = 0
163
165
  equity_return_on_capital = 0
164
166
  equity_annualized_return = 0
165
167
  equity_annualized_std = 0
@@ -277,6 +279,7 @@ def save_backtest_result(df, para_combination_item):
277
279
  'equity_annualized_std': equity_annualized_std,
278
280
  'equity_annualized_sr': equity_annualized_sr,
279
281
  'equity_net_profit_to_mdd': equity_net_profit_to_mdd,
282
+
280
283
  'equity_mdd_dollar': equity_mdd_dollar,
281
284
  'equity_mdd_pct': equity_mdd_pct,
282
285
 
@@ -286,6 +289,7 @@ def save_backtest_result(df, para_combination_item):
286
289
  'price_annualized_std': price_annualized_std,
287
290
  'price_annualized_sr': price_annualized_sr,
288
291
  'price_net_profit_to_mdd': price_net_profit_to_mdd,
292
+
289
293
  'price_mdd_dollar': price_mdd_dollar,
290
294
  'price_mdd_pct': price_mdd_pct,
291
295
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotguy
3
- Version: 2.0.2
3
+ Version: 2.0.5
4
4
  Summary: Plotguy
5
5
  Home-page: https://pypi.org/project/plotguy/
6
6
  Author: Plotguy Team
@@ -9,7 +9,7 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Operating System :: OS Independent
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: pandas==2.3.3
12
- Requires-Dist: steptools
12
+ Requires-Dist: stepuptools
13
13
  Requires-Dist: numpy==2.4.2
14
14
  Requires-Dist: hkfdb
15
15
  Requires-Dist: pyarrow==23.0.0
@@ -1,5 +1,5 @@
1
1
  pandas==2.3.3
2
- steptools
2
+ stepuptools
3
3
  numpy==2.4.2
4
4
  hkfdb
5
5
  pyarrow==23.0.0
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="plotguy",
8
- version="2.0.2",
8
+ version="2.0.5",
9
9
  author="Plotguy Team",
10
10
  author_email="plotguy.info@gmail.com",
11
11
  description="Plotguy",
@@ -13,7 +13,7 @@ setuptools.setup(
13
13
  long_description_content_type="text/markdown",
14
14
  install_requires=[
15
15
  'pandas==2.3.3',
16
- 'steptools',
16
+ 'stepuptools',
17
17
  'numpy==2.4.2',
18
18
  'hkfdb',
19
19
  'pyarrow==23.0.0',
File without changes
File without changes
File without changes
File without changes
File without changes