goldhand 13.2__py3-none-any.whl → 13.3__py3-none-any.whl

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 goldhand might be problematic. Click here for more details.

@@ -254,7 +254,7 @@ def show_indicator_goldhand_line_strategy(ticker, plot_title = '', ndays=0, plot
254
254
  fig.add_annotation( go.layout.Annotation( x=tex_loc[0], y=tex_loc[1], xref='paper', yref='paper', text=trade_text, showarrow=True, arrowhead=4, ax=0, ay=0, bordercolor='black', borderwidth=2, bgcolor='white', align='left', font=dict(size=14, color='black')))
255
255
 
256
256
  # Show the plot
257
- fig.show()
257
+ return (fig)
258
258
 
259
259
 
260
260
  #ticker= 'AAPL'
goldhand/strategy_rsi.py CHANGED
@@ -175,7 +175,7 @@ def show_indicator_rsi_strategy(ticker, buy_threshold = 30, sell_threshold = 70,
175
175
  f"Looser trades median: {t['looser_trades_median']}%<br>"
176
176
 
177
177
  # Add a larger textbox using annotations
178
- fig.add_annotation( go.layout.Annotation( x=0.1, y=0.85, xref='paper', yref='paper', text=trade_text, showarrow=True, arrowhead=4, ax=0, ay=0, bordercolor='black', borderwidth=2, bgcolor='white', align='left', font=dict(size=14, color='black')))
178
+ fig.add_annotation( go.layout.Annotation( x=tex_loc[0], y=tex_loc[1], xref='paper', yref='paper', text=trade_text, showarrow=True, arrowhead=4, ax=0, ay=0, bordercolor='black', borderwidth=2, bgcolor='white', align='left', font=dict(size=14, color='black')))
179
179
 
180
180
 
181
181
 
@@ -186,7 +186,7 @@ def show_indicator_rsi_strategy(ticker, buy_threshold = 30, sell_threshold = 70,
186
186
 
187
187
 
188
188
  # Show the plot
189
- fig.show()
189
+ return (fig)
190
190
 
191
191
 
192
192
  # Test
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goldhand
3
- Version: 13.2
3
+ Version: 13.3
4
4
  Summary: A package working with financial data
5
5
  Home-page: https://github.com/misrori/goldhand
6
6
  Author: Mihaly
@@ -2,10 +2,10 @@ goldhand/__init__.py,sha256=2D68nqSZuv6sqyLJbOXnWIeeFpNgpYc90rHa2Fo70lk,152
2
2
  goldhand/backtest.py,sha256=KrZXXaQw3ZPxE3tY0MOCa2qPJX374pVMLwM_VIOKy5Y,6105
3
3
  goldhand/helpers.py,sha256=l9yn0kVTiwfUR8sI5nH1QFx6dYikaUQgRA227Ox7hs0,6130
4
4
  goldhand/stocks.py,sha256=0MnjAex2A2c06JHinToKHBAvUJvYtDFXxtGudqBux6o,10521
5
- goldhand/strategy_goldhand_line.py,sha256=7egey8k_TB0UYP8jinETovJ2l04leTz9NEwWa7yRF44,10499
6
- goldhand/strategy_rsi.py,sha256=2osE2Go5YT4eHcxaY4NbRf-ZMhQH-0I9ERGOZ1PLCV8,8789
5
+ goldhand/strategy_goldhand_line.py,sha256=ersczdUtKBpyWpmgbLOEnoGi5MedV1aSjBNptMM-zP0,10501
6
+ goldhand/strategy_rsi.py,sha256=9uzKo3HnmpkJV7rxzvovlGZv3-O2rwTJxxdl8V2--s4,8804
7
7
  goldhand/tw.py,sha256=K8MwMDkW5JtBFBG0qcPzj8OVx2OhDjrOH2UGo6nwtSs,8375
8
- goldhand-13.2.dist-info/METADATA,sha256=XSTY-pA1GOmBk-IUhTJB1vR9bXy0RVduXmgrUZUfB0s,1952
9
- goldhand-13.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10
- goldhand-13.2.dist-info/top_level.txt,sha256=siEJ2_a_Fx_7hqRI4Ms6SzCelbXrK_1H_eOF8KAaMdA,9
11
- goldhand-13.2.dist-info/RECORD,,
8
+ goldhand-13.3.dist-info/METADATA,sha256=rDlhsIGYs5naNPOD5fmCy6_SpNDm9kg0gdkVHCvYlJo,1952
9
+ goldhand-13.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10
+ goldhand-13.3.dist-info/top_level.txt,sha256=siEJ2_a_Fx_7hqRI4Ms6SzCelbXrK_1H_eOF8KAaMdA,9
11
+ goldhand-13.3.dist-info/RECORD,,