63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"type": "Order Statistics",
|
|
"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 Statistic",
|
|
"relatedUiObject": "User Defined Statistic",
|
|
"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": "->Market Order->Limit Order->"
|
|
},
|
|
"propertyNameAtParent": "orderStatistics",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "percentageFilled",
|
|
"type": "node",
|
|
"childType": "Percentage Filled",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "actualRate",
|
|
"type": "node",
|
|
"childType": "Actual Rate",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "days",
|
|
"type": "node",
|
|
"childType": "Days",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "userDefinedStatistics",
|
|
"type": "array",
|
|
"childType": "User Defined Statistic",
|
|
"autoAdd": true
|
|
}
|
|
]
|
|
} |