From a4643066a85b1f526fe1c5820784b5aff1aa4543 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 7 Jul 2018 13:39:21 +0200 Subject: [PATCH] allow more flexibility in webhook --- freqtrade/constants.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/freqtrade/constants.py b/freqtrade/constants.py index ec7765455..311f2fa72 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -100,6 +100,16 @@ CONF_SCHEMA = { }, 'required': ['enabled', 'token', 'chat_id'] }, + 'webhook': { + 'type': 'object', + 'properties': { + 'enabled': {'type': 'boolean'}, + 'webhookbuy': {'type': 'object'}, + 'webhooksell': {'type': 'object'}, + 'webhookstatus': {'type': 'object'}, + 'chat_id': {'type': 'string'}, + }, + }, 'db_url': {'type': 'string'}, 'initial_state': {'type': 'string', 'enum': ['running', 'stopped']}, 'internals': {