diff --git a/Dockerfile b/Dockerfile index 918552526..afafd93c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.6.4-slim-stretch +FROM python:3.6.5-slim-stretch # Install TA-lib RUN apt-get update && apt-get -y install curl build-essential && apt-get clean diff --git a/docs/telegram-usage.md b/docs/telegram-usage.md index 7de9809ec..cfbebdca0 100644 --- a/docs/telegram-usage.md +++ b/docs/telegram-usage.md @@ -127,3 +127,14 @@ Day Profit BTC Profit USD ## /version > **Version:** `0.14.3` + +### using proxy with telegram +in [freqtrade/freqtrade/rpc/telegram.py](https://github.com/gcarq/freqtrade/blob/develop/freqtrade/rpc/telegram.py) replace +``` +self._updater = Updater(token=self._config['telegram']['token'], workers=0) +``` + +with +``` +self._updater = Updater(token=self._config['telegram']['token'], request_kwargs={'proxy_url': 'socks5://127.0.0.1:1080/'}, workers=0) +``` diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 0a730882c..9daaa7d14 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -378,7 +378,7 @@ class FreqtradeBot(object): if self.analyze.should_sell(trade, current_rate, datetime.utcnow(), buy, sell): self.execute_sell(trade, current_rate) return True - + logger.info('Found no sell signals for whitelisted currencies. Trying again..') return False def check_handle_timedout(self, timeoutvalue: int) -> None: diff --git a/requirements.txt b/requirements.txt index 6f197597d..7060c8ad5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ python-bittrex==0.3.0 -SQLAlchemy==1.2.6 +SQLAlchemy==1.2.7 python-telegram-bot==10.0.2 arrow==0.12.1 cachetools==2.0.1