diff --git a/config/v3/proposal_open_contract/receive.json b/config/v3/proposal_open_contract/receive.json index 191966c3..4fbadd6c 100644 --- a/config/v3/proposal_open_contract/receive.json +++ b/config/v3/proposal_open_contract/receive.json @@ -456,6 +456,49 @@ 1 ] }, + "is_valid_to_update": { + "description": "[Optional] Indicator whether take profit, stop loss, and/or stop out is allowed to be updated.", + "type": [ + "null", + "object" + ], + "additionalProperties": false, + "properties": { + "stop_loss": { + "description": "[Optional] 1 if stop loss is allowed to be updated and 0 if otherwise. This field is undefined if stop loss functionality is not supported by the contract.", + "type": [ + "integer", + "null" + ], + "enum": [ + 0, + 1 + ] + }, + "stop_out": { + "description": "[Optional] 1 if stop out is allowed to be updated and 0 if otherwise. This field is undefined if stop out functionality is not supported by the contract.", + "type": [ + "integer", + "null" + ], + "enum": [ + 0, + 1 + ] + }, + "take_profit": { + "description": "[Optional] 1 if take profit is allowed to be updated and 0 if otherwise. This field is undefined if take profit functionality is not supported by the contract.", + "type": [ + "integer", + "null" + ], + "enum": [ + 0, + 1 + ] + } + } + }, "limit_order": { "description": "Orders are applicable to `MULTUP` and `MULTDOWN` contracts only.", "type": "object",