rename and exchange instance and mark it as private
This commit is contained in:
@@ -266,7 +266,7 @@ def app(config: dict) -> None:
|
||||
elif new_state == State.RUNNING:
|
||||
_process()
|
||||
# We need to sleep here because otherwise we would run into bittrex rate limit
|
||||
time.sleep(exchange.EXCHANGE.sleep_time)
|
||||
time.sleep(exchange.get_sleep_time())
|
||||
old_state = new_state
|
||||
except RuntimeError:
|
||||
telegram.send_msg(
|
||||
|
||||
Reference in New Issue
Block a user