virgo-modules 0.1.2__tar.gz → 0.1.3__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.
Potentially problematic release.
This version of virgo-modules might be problematic. Click here for more details.
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/PKG-INFO +1 -1
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/setup.py +1 -1
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/backtester.py +1 -1
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/re_utils.py +2 -2
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/PKG-INFO +1 -1
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/LICENSE +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/README.md +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/setup.cfg +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/__init__.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/__init__.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/aws_utils.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/edge_utils.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/pull_artifacts.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules/src/ticketer_source.py +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/SOURCES.txt +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/dependency_links.txt +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/requires.txt +0 -0
- {virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ with open("virgo_app/README.md", "r") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="virgo_modules",
|
|
8
|
-
version="0.1.
|
|
8
|
+
version="0.1.3",
|
|
9
9
|
description="data processing and statistical modeling using stock market data",
|
|
10
10
|
package_dir={"": "virgo_app"},
|
|
11
11
|
packages=find_packages(where="virgo_app"),
|
|
@@ -339,7 +339,7 @@ class SignalAnalyserObject:
|
|
|
339
339
|
axs_.plot(dft.strat_prod_exp.values, label = 'strategy', color = 'darksalmon')
|
|
340
340
|
axs_.set_xlabel("index")
|
|
341
341
|
axs_.set_ylabel("comulative return")
|
|
342
|
-
axs_.set_title(f'{map_[open_in]} strategy and cumulative returns
|
|
342
|
+
axs_.set_title(f'{map_[open_in]} strategy and cumulative returns')
|
|
343
343
|
axs_.legend()
|
|
344
344
|
|
|
345
345
|
if self.show_plot:
|
|
@@ -975,7 +975,7 @@ class produce_plotly_plots:
|
|
|
975
975
|
for signal_low in signal_low_list:
|
|
976
976
|
if signal_low in df.columns:
|
|
977
977
|
fig.add_trace(go.Scatter(x=df['Date'], y=np.where(df[signal_low] == 1, df[norm_feat], np.nan),showlegend= False, mode='markers', marker_color = 'red'),col = 1, row = row_i)
|
|
978
|
-
|
|
978
|
+
fig.add_hline(y=0, line_width=2, line_dash="dash", line_color="grey",col = 1, row = row_i)
|
|
979
979
|
fig.update_layout(height=height_plot, width=1600, title_text = f'asset plot and signals: {self.ticket_name}')
|
|
980
980
|
|
|
981
981
|
## state plot with close prices
|
|
@@ -1457,7 +1457,7 @@ def produce_simple_ts_from_model(stock_code, configs, n_days = 2000 , window_sco
|
|
|
1457
1457
|
for signal_low in signal_low_list:
|
|
1458
1458
|
if signal_low in df.columns:
|
|
1459
1459
|
fig.add_trace(go.Scatter(x=df['Date'], y=np.where(df[signal_low] == 1, df[norm_feat], np.nan),showlegend= False, mode='markers', marker_color = 'red'),col = 1, row = row_i)
|
|
1460
|
-
|
|
1460
|
+
fig.add_hline(y=0, line_width=2, line_dash="dash", line_color="grey",col = 1, row = row_i)
|
|
1461
1461
|
fig.update_layout(height=height_plot, width=1600, title_text = f'asset plot and signals: {stock_code}')
|
|
1462
1462
|
|
|
1463
1463
|
del object_stock
|
|
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
|
{virgo_modules-0.1.2 → virgo_modules-0.1.3}/virgo_app/virgo_modules.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|