Skip to content

Commit 60a6408

Browse files
committed
Merge branch 'develop' of github.com:CryptoSignal/crypto-signal into workers
2 parents 7f5c257 + 40653ae commit 60a6408

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Crypto Signals
22

3-
Development branch to testing new features. If you are looking for the latest stable version check the master branch.
3+
Development branch to testing new features. This develop version has a lot of improvements and fixes over master branch. The recommendation is that you use the code in this branch.
44

55
## Notable Changes
66
- It creates candle bar charts with MAs, RSI and MACD. These images can be sent as part of a Telegram notification or a Webhook call.

app/exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def get_top_markets(self, exchange, base_markets):
144144
values = np.array(values, dtype=[('market', 'U10'), ('volume', int)])
145145
values = np.sort(values, order='volume')
146146

147-
if isinstance(self.exclude, list) and len(self.exclude) > 0:
147+
if self.top_pairs and (len (values) > self.top_pairs):
148148
limit = -self.top_pairs
149149
values = values[limit:]['market'].tolist()
150150
else:

0 commit comments

Comments
 (0)