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

71 lines
2.3 KiB
JSON

{
"type": "Market Buy Order",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "createOrderEvent",
"label": "Add Create Order Event",
"relatedUiObject": "Create Order Event",
"actionFunction": "payload.executeAction",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "simulatedExchangeEvents",
"label": "Add Simulated Events",
"relatedUiObject": "Simulated Exchange Events",
"actionFunction": "payload.executeAction",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Delete UI Object",
"actionProject": "Visual-Scripting",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{\n\"percentageOfAlgorithmSize\": 100, \n\"spawnMultipleOrders\": false \n}"
},
"editors": {
"config": true
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Algorithm->"
},
"referencingRules": {
"compatibleTypes": "->Market Order->"
},
"propertyNameAtParent": "marketBuyOrders",
"childrenNodesProperties": [
{
"name": "createOrderEvent",
"type": "node",
"childType": "Create Order Event",
"autoAdd": true
},
{
"name": "simulatedExchangeEvents",
"type": "node",
"childType": "Simulated Exchange Events",
"autoAdd": true
}
]
}