Merge pull request #886 from freqtrade/feature/reload-conf

Reload bot config without restarting
This commit is contained in:
Janne Sinivirta
2018-06-11 10:47:00 +03:00
committed by GitHub
9 changed files with 150 additions and 21 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]:
"""