docs: Add note about using telegram proxy
This commit is contained in:
parent
49f2c24698
commit
0e62d157c1
@ -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)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user