81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"type": "Trading Episode Counters",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add Missing Children",
|
|
"label": "Add Missing Children",
|
|
"relatedUiObject": "Trading Parameters",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add User Defined Counter",
|
|
"relatedUiObject": "User Defined Counter",
|
|
"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"
|
|
}
|
|
],
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Trading Episode->"
|
|
},
|
|
"propertyNameAtParent": "tradingEpisodeCounters",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "periods",
|
|
"type": "node",
|
|
"childType": "Periods",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "strategies",
|
|
"type": "node",
|
|
"childType": "Strategies",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "positions",
|
|
"type": "node",
|
|
"childType": "Positions",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "orders",
|
|
"type": "node",
|
|
"childType": "Orders",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "hits",
|
|
"type": "node",
|
|
"childType": "Hits",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "fails",
|
|
"type": "node",
|
|
"childType": "Fails",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "userDefinedCounters",
|
|
"type": "array",
|
|
"childType": "User Defined Counter",
|
|
"autoAdd": false
|
|
}
|
|
]
|
|
} |