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

133 lines
3.5 KiB
JSON

{
"type": "Position",
"menuItems": [
{
"action": "Add Missing Children",
"label": "Add Missing Children",
"relatedUiObject": "Trading Parameters",
"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 Current->Trading Last->"
},
"propertyNameAtParent": "position",
"childrenNodesProperties": [
{
"name": "serialNumber",
"type": "node",
"childType": "Serial Number",
"autoAdd": true
},
{
"name": "identifier",
"type": "node",
"childType": "Identifier",
"autoAdd": true
},
{
"name": "begin",
"type": "node",
"childType": "Begin",
"autoAdd": true
},
{
"name": "end",
"type": "node",
"childType": "End",
"autoAdd": true
},
{
"name": "beginRate",
"type": "node",
"childType": "Begin Rate",
"autoAdd": true
},
{
"name": "endRate",
"type": "node",
"childType": "End Rate",
"autoAdd": true
},
{
"name": "status",
"type": "node",
"childType": "Status",
"autoAdd": true
},
{
"name": "exitType",
"type": "node",
"childType": "Exit Type",
"autoAdd": true
},
{
"name": "situationName",
"type": "node",
"childType": "Situation Name",
"autoAdd": true
},
{
"name": "entryTargetRate",
"type": "node",
"childType": "Entry Target Rate",
"autoAdd": true
},
{
"name": "exitTargetRate",
"type": "node",
"childType": "Exit Target Rate",
"autoAdd": true
},
{
"name": "stopLoss",
"type": "node",
"childType": "Stop Loss",
"autoAdd": true
},
{
"name": "takeProfit",
"type": "node",
"childType": "Take Profit",
"autoAdd": true
},
{
"name": "positionCounters",
"type": "node",
"childType": "Position Counters",
"autoAdd": true
},
{
"name": "positionStatistics",
"type": "node",
"childType": "Position Statistics",
"autoAdd": true
},
{
"name": "positionBaseAsset",
"type": "node",
"childType": "Position Base Asset",
"autoAdd": true
},
{
"name": "positionQuotedAsset",
"type": "node",
"childType": "Position Quoted Asset",
"autoAdd": true
}
]
}