bullishpy 0.59.0__py3-none-any.whl → 0.60.0__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 bullishpy might be problematic. Click here for more details.

@@ -191,7 +191,9 @@ class FilterQuery(GeneralFilter, *TechnicalAnalysisFilters, *FundamentalAnalysis
191
191
  )
192
192
 
193
193
  def to_query(self) -> str: # noqa: C901
194
- parameters = self.model_dump(exclude_defaults=True, exclude_unset=True)
194
+ parameters = self.model_dump(
195
+ exclude_defaults=True, exclude_unset=True, exclude={"name"}
196
+ )
195
197
  query = []
196
198
  order_by_desc = ""
197
199
  order_by_asc = ""
bullish/jobs/tasks.py CHANGED
@@ -125,6 +125,21 @@ def cron_update(
125
125
  )
126
126
 
127
127
 
128
+ @huey.periodic_task(crontab(day_of_week=0, hour=9, minute=0), context=True) # type: ignore
129
+ def cron_financial_update(
130
+ task: Optional[Task] = None,
131
+ ) -> None:
132
+ database = DataBaseSingleTon()
133
+ if database.valid():
134
+ job_tracker(_base_update)(
135
+ database.path,
136
+ "Update data",
137
+ [],
138
+ FilterUpdate(update_financials=True),
139
+ task=task,
140
+ )
141
+
142
+
128
143
  @huey.task(context=True) # type: ignore
129
144
  @job_tracker
130
145
  def analysis(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bullishpy
3
- Version: 0.59.0
3
+ Version: 0.60.0
4
4
  Summary:
5
5
  Author: aan
6
6
  Author-email: andoludovic.andriamamonjy@gmail.com
@@ -3,7 +3,7 @@ bullish/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
3
3
  bullish/analysis/analysis.py,sha256=Bcupt-qROPddj1hGTNAY8vhu0pnFqNvXoDtUNhRXErY,24217
4
4
  bullish/analysis/backtest.py,sha256=x91ek5kOzJHvYq0TmJh1Q8wBDDduIaieE0zDaoZFXew,14325
5
5
  bullish/analysis/constants.py,sha256=j3vQwjGhY-4dEEV-TkeKMDUTo2GM7M97Hcpi19LDcFQ,11458
6
- bullish/analysis/filter.py,sha256=LKmsO3ei7Eo_SJsEVbZqETyIdOpW55xVheO6_GNoA0s,9286
6
+ bullish/analysis/filter.py,sha256=VvQALnYNyYylXkorYR3oGhsF4L_sAUSE7-aop4Trp9o,9326
7
7
  bullish/analysis/functions.py,sha256=CuMgOjpQeg4KsDMUBdHRlxL1dRlos16KRyLhQe8PYUQ,14819
8
8
  bullish/analysis/indicators.py,sha256=f5FReOeM1qgs_v3yEFp2ebPYqIQNib_4tftG0WDkhRQ,27648
9
9
  bullish/analysis/industry_views.py,sha256=-B4CCAYz2arGQtWTXLLMpox0loO_MGdVQd2ycCRMOQQ,6799
@@ -53,11 +53,11 @@ bullish/interface/interface.py,sha256=R2qVEMyBl9mBlPUO40zXp4vhfLKH7pgl_u2BmAVlD4
53
53
  bullish/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  bullish/jobs/app.py,sha256=5MJ5KXUo7JSNAvOPgkpIMasD11VTrjQvGzM7vmCY65E,77
55
55
  bullish/jobs/models.py,sha256=rBXxtGFBpgZprrxq5_X2Df-bh8BLYEfw-VLMRucrqa8,784
56
- bullish/jobs/tasks.py,sha256=vmglWAADUUkhc_2ArzgAGdjtWotkYymvK6LQt08vGo4,6096
56
+ bullish/jobs/tasks.py,sha256=7_zKZaLpbmh7XxvjhfWcowdDAp9sEABULB2PSkasfbM,6509
57
57
  bullish/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  bullish/utils/checks.py,sha256=g-5QXNWNe1_BwHKrc2PtvPiLraL0tqGgxnzG7u-Wkgo,2189
59
- bullishpy-0.59.0.dist-info/LICENSE,sha256=nYb7AJFegu6ndlQhbbk54MjT-GH-0x9RF6Ls-ggJ_g4,1075
60
- bullishpy-0.59.0.dist-info/METADATA,sha256=XhcYJxrog6HkTn0TLBowUg9Rlw5VbtAy53CJHkr4Gao,3009
61
- bullishpy-0.59.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
62
- bullishpy-0.59.0.dist-info/entry_points.txt,sha256=eaPpmL6vmSBFo0FBtwibCXGqAW4LFJ83whJzT1VjD-0,43
63
- bullishpy-0.59.0.dist-info/RECORD,,
59
+ bullishpy-0.60.0.dist-info/LICENSE,sha256=nYb7AJFegu6ndlQhbbk54MjT-GH-0x9RF6Ls-ggJ_g4,1075
60
+ bullishpy-0.60.0.dist-info/METADATA,sha256=qZ6Cw2b5BxJj8keB4BtEkSNlWjmt7mCbXQtV2OfMVzw,3009
61
+ bullishpy-0.60.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
62
+ bullishpy-0.60.0.dist-info/entry_points.txt,sha256=eaPpmL6vmSBFo0FBtwibCXGqAW4LFJ83whJzT1VjD-0,43
63
+ bullishpy-0.60.0.dist-info/RECORD,,