plotguy 1.2.11__tar.gz → 1.2.12__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: 1.2.11
3
+ Version: 1.2.12
4
4
  Summary: Plotguy
5
5
  Home-page: https://pypi.org/project/plotguy/
6
6
  Author: Plotguy Team
@@ -14,6 +14,7 @@ from .signals import *
14
14
  from .aggregate import *
15
15
 
16
16
 
17
+
17
18
  def multi_process(function, parameters, number_of_core=8):
18
19
  pool = mp.Pool(processes=number_of_core)
19
20
  pool.map(function, parameters)
@@ -511,8 +512,6 @@ def cal_performance(para_combination):
511
512
  else:
512
513
  df_backtest = pd.read_csv(save_path, index_col=0) # Daraframe that may not be daily
513
514
 
514
- print(df_backtest.head(3))
515
-
516
515
  df_backtest['date'] = pd.to_datetime(df_backtest['date'], format='%Y-%m-%d')
517
516
  df_backtest = df_backtest.loc[(df_backtest['date'] >= start_date) & (df_backtest['date'] <= end_date)]
518
517
  df_backtest = df_backtest.reset_index(drop=True) # Reset Index
@@ -1,7 +1,11 @@
1
+ import warnings
2
+ warnings.simplefilter("ignore", UserWarning)
3
+
1
4
  from dash import Dash, dcc, html, Input, Output, State, ALL
2
5
  import dash_daq as daq
3
6
  from .components import *
4
7
  import time
8
+ import dash_dangerously_set_inner_html
5
9
 
6
10
  class Aggregate:
7
11
 
@@ -13,7 +13,7 @@ import plotly.graph_objs as go
13
13
  from plotly.subplots import make_subplots
14
14
 
15
15
  import plotguy
16
- import dash_dangerously_set_inner_html # for all Plot Class
16
+ #import dash_dangerously_set_inner_html # for all Plot Class
17
17
 
18
18
 
19
19
  class Components:
@@ -1,6 +1,9 @@
1
+ import warnings
2
+ warnings.simplefilter("ignore", UserWarning)
3
+
1
4
  from dash import Dash, dcc, html, Input, Output, State, ALL
2
5
  from .components import *
3
-
6
+ import dash_dangerously_set_inner_html
4
7
  import os
5
8
 
6
9
  class Plot:
@@ -1,3 +1,6 @@
1
+ import warnings
2
+ warnings.simplefilter("ignore", UserWarning)
3
+
1
4
  from dash import Dash, dcc, html, Input, Output, State, ALL
2
5
  from .components import *
3
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotguy
3
- Version: 1.2.11
3
+ Version: 1.2.12
4
4
  Summary: Plotguy
5
5
  Home-page: https://pypi.org/project/plotguy/
6
6
  Author: Plotguy Team
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="plotguy",
8
- version="1.2.11",
8
+ version="1.2.12",
9
9
  author="Plotguy Team",
10
10
  author_email="plotguy.info@gmail.com",
11
11
  description="Plotguy",
File without changes
File without changes