Have rest-client use new reload_config endpoint

This commit is contained in:
Matthias 2020-06-10 19:44:34 +02:00
parent 4f643f8481
commit a7cd68121b

View File

@ -80,18 +80,18 @@ class FtRestClient():
return self._post("stop") return self._post("stop")
def stopbuy(self): def stopbuy(self):
"""Stop buying (but handle sells gracefully). Use `reload_conf` to reset. """Stop buying (but handle sells gracefully). Use `reload_config` to reset.
:return: json object :return: json object
""" """
return self._post("stopbuy") return self._post("stopbuy")
def reload_conf(self): def reload_config(self):
"""Reload configuration. """Reload configuration.
:return: json object :return: json object
""" """
return self._post("reload_conf") return self._post("reload_config")
def balance(self): def balance(self):
"""Get the account balance. """Get the account balance.