Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jesse-ai/jesse
Browse files Browse the repository at this point in the history
  • Loading branch information
morteza-koohgard committed Oct 9, 2024
2 parents 0dfd07c + 58d8525 commit d37fb02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jesse/indicators/alligator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def alligator(candles: np.ndarray, source_type: str = "close", sequential: bool

def numpy_ewma(data: np.ndarray, window: int):
"""
Numpy version of the exponential weighted moving average.
:param data:
:param window:
:return:
Expand Down
2 changes: 1 addition & 1 deletion jesse/services/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, path: str) -> None:
with open(f"{self.path}cache_database.pickle", 'rb') as f:
try:
self.db = pickle.load(f)
except EOFError:
except (EOFError, pickle.UnpicklingError):
# File got broken
self.db = {}
# if not, create a dict object. We'll create the file when using set_value()
Expand Down

0 comments on commit d37fb02

Please sign in to comment.