Run validation after custom validations

This commit is contained in:
Matthias
2019-11-25 07:05:18 +01:00
parent 8d002a8f28
commit e7be742c58
2 changed files with 5 additions and 5 deletions

View File

@@ -62,15 +62,15 @@ def validate_config_consistency(conf: Dict[str, Any]) -> None:
:return: Returns None if everything is ok, otherwise throw an OperationalException
"""
# validate configuration before returning
logger.info('Validating configuration ...')
validate_config_schema(conf)
# validating trailing stoploss
_validate_trailing_stoploss(conf)
_validate_edge(conf)
_validate_whitelist(conf)
# validate configuration before returning
logger.info('Validating configuration ...')
validate_config_schema(conf)
def _validate_trailing_stoploss(conf: Dict[str, Any]) -> None: