docs: Add note about using telegram proxy (#611)
This commit is contained in:
parent
27003c447d
commit
6d327658ea
@ -127,3 +127,14 @@ Day Profit BTC Profit USD
|
|||||||
|
|
||||||
## /version
|
## /version
|
||||||
> **Version:** `0.14.3`
|
> **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)
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user