diff --git a/ft_client/freqtrade_client/ft_rest_client.py b/ft_client/freqtrade_client/ft_rest_client.py index 9dccefc33..d88c99c9b 100755 --- a/ft_client/freqtrade_client/ft_rest_client.py +++ b/ft_client/freqtrade_client/ft_rest_client.py @@ -415,5 +415,3 @@ class FtRestClient: :return: json object """ return self._get("health") - - diff --git a/scripts/rest_client.py b/scripts/rest_client.py new file mode 100755 index 000000000..c22dd18ae --- /dev/null +++ b/scripts/rest_client.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 +""" +Simple command line client into RPC commands +Can be used as an alternate to Telegram + +Should not import anything from freqtrade, +so it can be used as a standalone script. +""" + +from freqtrade_client.ft_client import main + + +if __name__ == '__main__': + main()