Files
Superalgos/Projects/Foundations/Schemas/App-Schema/create-order-event.json
T

45 lines
1.3 KiB
JSON

{
"type": "Create Order Event",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Situation",
"relatedUiObject": "Situation",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"label": "Add Announcement",
"relatedUiObject": "Announcement",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Market Buy Order->Market Sell Order->Limit Buy Order->Limit Sell Order->"
},
"childrenNodesProperties": [
{
"name": "situations",
"type": "array",
"childType": "Situation",
"autoAdd": true
},
{
"name": "announcements",
"type": "array",
"childType": "Announcement"
}
],
"propertyNameAtParent": "createOrderEvent"
}