Settings notify sell in telegram base on sell reason (#5028)
* BREAK: notification sell by sell reason * Update constants.py * Update telegram.py * Update telegram-usage.md * Update telegram.py * Update telegram.py * Fix test fail * Update config_full.json.example * Update telegram-usage.md * Update telegram.py * Update telegram.py * Update telegram-usage.md * validate value of sell object * Fix linter * Update constants.py * Make telegram sample slightly more positive Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
committed by
GitHub
parent
8bef7217ec
commit
c5c323ca88
@@ -260,7 +260,13 @@ CONF_SCHEMA = {
|
||||
'enum': TELEGRAM_SETTING_OPTIONS,
|
||||
'default': 'off'
|
||||
},
|
||||
'sell': {'type': 'string', 'enum': TELEGRAM_SETTING_OPTIONS},
|
||||
'sell': {
|
||||
'type': 'object',
|
||||
'additionalProperties': {
|
||||
'type': 'string',
|
||||
'enum': TELEGRAM_SETTING_OPTIONS
|
||||
}
|
||||
},
|
||||
'sell_cancel': {'type': 'string', 'enum': TELEGRAM_SETTING_OPTIONS},
|
||||
'sell_fill': {
|
||||
'type': 'string',
|
||||
|
||||
Reference in New Issue
Block a user