implement bot reconfiguration and expose it to telegram

This commit is contained in:
gcarq
2018-06-09 04:29:48 +02:00
parent 74db82d759
commit 0b5d21f32a
7 changed files with 139 additions and 5 deletions

View File

@@ -299,6 +299,11 @@ class RPC(object):
return True, '*Status:* `already stopped`'
def rpc_reload_conf(self) -> str:
""" Handler for reload_conf. """
self.freqtrade.state = State.RELOAD_CONF
return '*Status:* `Reloading config ...`'
# FIX: no test for this!!!!
def rpc_forcesell(self, trade_id) -> Tuple[bool, Any]:
"""