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

54 lines
1.7 KiB
JSON

{
"type": "Order Rate",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "formula",
"label": "Add Formula",
"relatedUiObject": "Formula",
"actionFunction": "payload.executeAction",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"label": "Add Portfolio Formula",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "askPortfolioFormulaManager",
"relatedUiObject": "Ask Portfolio Formula Manager",
"actionFunction": "payload.executeAction",
"relatedUiObjectProject": "Foundations",
"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": 4,
"attachingRules": {
"compatibleTypes": "->Limit Buy Order->Limit Sell Order->"
},
"childrenNodesProperties": [
{
"name": "formula",
"type": "node",
"childType": "Formula",
"autoAdd": true
},
{
"name": "askPortfolioFormulaManager",
"type": "node",
"childType": "Ask Portfolio Formula Manager"
}
],
"propertyNameAtParent": "orderRate"
}