66 lines
2.1 KiB
JSON
66 lines
2.1 KiB
JSON
{
|
|
"type": "Cancel Order Event",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Situation",
|
|
"relatedUiObject": "Situation",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Cancel Order Portfolio Event",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "cancelOrderPMEvent",
|
|
"relatedUiObject": "Cancel Order PM Event",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "Foundations",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Announcement",
|
|
"relatedUiObject": "Announcement",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "Social-Bots",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"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": "cancelOrderPMEvent",
|
|
"type": "node",
|
|
"childType": "Cancel Order PM Event"
|
|
},
|
|
{
|
|
"name": "announcements",
|
|
"type": "array",
|
|
"childType": "Announcement",
|
|
"project": "Social-Bots"
|
|
}
|
|
],
|
|
"propertyNameAtParent": "cancelOrderEvent"
|
|
} |