mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Re-add rest_client script
This commit is contained in:
parent
bfe739da3c
commit
5888da5bc5
|
@ -415,5 +415,3 @@ class FtRestClient:
|
||||||
:return: json object
|
:return: json object
|
||||||
"""
|
"""
|
||||||
return self._get("health")
|
return self._get("health")
|
||||||
|
|
||||||
|
|
||||||
|
|
14
scripts/rest_client.py
Executable file
14
scripts/rest_client.py
Executable file
|
@ -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()
|
Loading…
Reference in New Issue
Block a user