Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Workflow committed Jul 19, 2024
1 parent 99cfbb0 commit 3265d6a
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions config/v3/proposal_open_contract/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3265d6a

Please sign in to comment.