Skip to content

Commit

Permalink
fixed smart switch back bug (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
whittlem authored Jun 22, 2021
1 parent 642fe9e commit a0abb8d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Upgrade version:
Upgrade library dependancies (if required):
- python3 -m pip install -r requirements.txt -U

## [2.37.3] - 2021-06-22

### Changed

-- Fixed smart switch back bug

## [2.37.2] - 2021-06-21

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Docker](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg) [![Tests](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)

# Python Crypto Bot v2.37.2 (pycryptobot)
# Python Crypto Bot v2.37.3 (pycryptobot)

## Join our chat on Telegram

Expand Down
2 changes: 1 addition & 1 deletion models/PyCryptoBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def isCryptoRecession(self):

def is6hEMA1226Bull(self):
try:
if isinstance(self.ema1226_6h_cache, pd.DataFrame):
if self.isSimulation() and isinstance(self.ema1226_6h_cache, pd.DataFrame):
df_data = self.ema1226_6h_cache
elif self.exchange == 'coinbasepro':
api = CBPublicAPI()
Expand Down

0 comments on commit a0abb8d

Please sign in to comment.