mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Re-add rest_client script
This commit is contained in:
@@ -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()
|
||||||
Reference in New Issue
Block a user