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
1 changed files with 3 additions and 3 deletions

View File

@ -80,18 +80,18 @@ class FtRestClient():
return self._post("stop")
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 self._post("stopbuy")
def reload_conf(self):
def reload_config(self):
"""Reload configuration.
:return: json object
"""
return self._post("reload_conf")
return self._post("reload_config")
def balance(self):
"""Get the account balance.