Merge pull request #2662 from PLuv/portfolio-management
Portfolio management
This commit is contained in:
7 files changed
+200
No files matched your search
@@ -51,6 +51,16 @@
|
||||
"relatedUiObjectProject": "Social-Bots",
|
||||
"actionProject": "Visual-Scripting"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "managedSessions",
|
||||
"label": "Add Managed Sessions",
|
||||
"relatedUiObject": "Managed Sessions",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"relatedUiObjectProject": "Foundations"
|
||||
},
|
||||
{
|
||||
"action": "Add Missing Children",
|
||||
"label": "Add Missing Children",
|
||||
@@ -109,6 +119,11 @@
|
||||
"type": "node",
|
||||
"childType": "Social Bots",
|
||||
"project": "Social-Bots"
|
||||
},
|
||||
{
|
||||
"name": "managedSessions",
|
||||
"type": "node",
|
||||
"childType": "Managed Sessions"
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "session"
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"type": "Managed Sessions",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Run All Sessions",
|
||||
"label": "Run All Sessions",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Run",
|
||||
"workDoneLabel": "Run Request Sent",
|
||||
"iconPathOn": "run",
|
||||
"iconPathOff": "run",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Stop All Sessions",
|
||||
"label": "Stop All Sessions",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Stop",
|
||||
"workDoneLabel": "Stop Request Sent",
|
||||
"iconPathOn": "stop",
|
||||
"iconPathOff": "stop",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Session Reference",
|
||||
"relatedUiObject": "Session Reference",
|
||||
"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": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Live Portfolio Session->"
|
||||
},
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "sessionReference",
|
||||
"type": "array",
|
||||
"childType": "Session Reference",
|
||||
"autoAdd": false,
|
||||
"monitorChildrenRunning": true
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "managedSessions"
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"type": "Managed Tasks",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Run All Tasks",
|
||||
"label": "Run All Tasks",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Run",
|
||||
"workDoneLabel": "Run Request Sent",
|
||||
"iconPathOn": "run",
|
||||
"iconPathOff": "run",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Stop All Tasks",
|
||||
"label": "Stop All Tasks",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Stop",
|
||||
"workDoneLabel": "Stop Request Sent",
|
||||
"iconPathOn": "stop",
|
||||
"iconPathOff": "stop",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Task Reference",
|
||||
"relatedUiObject": "Task Reference",
|
||||
"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": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Task->"
|
||||
},
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "taskReference",
|
||||
"type": "array",
|
||||
"childType": "Task Reference",
|
||||
"autoAdd": false,
|
||||
"monitorChildrenRunning": true
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "managedTasks"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"type": "Session Reference",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [ "Use Reference Parent" ],
|
||||
"isTitleAllwaysVisible": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Managed Sessions->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Backtesting Session->Forward Testing Session->Paper Trading Session->Live Trading Session->Back Learning Session->Live Learning Session->"
|
||||
},
|
||||
"propertyNameAtParent": "sessionReference"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"type": "Task Reference",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [ "Use Reference Parent" ],
|
||||
"isTitleAllwaysVisible": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Managed Tasks->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Task->"
|
||||
},
|
||||
"propertyNameAtParent": "taskReference"
|
||||
}
|
||||
@@ -97,6 +97,16 @@
|
||||
"actionProject": "Visual-Scripting",
|
||||
"relatedUiObjectProject": "Foundations"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "managedTasks",
|
||||
"label": "Add Managed Tasks",
|
||||
"relatedUiObject": "Managed Tasks",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"relatedUiObjectProject": "Foundations"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
@@ -149,6 +159,11 @@
|
||||
"name": "keyReference",
|
||||
"type": "node",
|
||||
"childType": "Key Reference"
|
||||
},
|
||||
{
|
||||
"name": "managedTasks",
|
||||
"type": "node",
|
||||
"childType": "Managed Tasks"
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "tasks"
|
||||
|
||||
@@ -138,6 +138,7 @@ function newFoundationsFunctionLibraryTaskFunctions() {
|
||||
'Sensor Process Instance->Time Frames Filter->API Data Fetcher Process Instance->Indicator Process Instance->Trading Process Instance->Portfolio Process Instance->Learning Process Instance->' +
|
||||
'Execution Started Event->' +
|
||||
'Key Reference->Exchange Account Key->' +
|
||||
'Managed Tasks->' +
|
||||
'Task Manager->' +
|
||||
'Data Mine Tasks->Trading Mine Tasks->Portfolio Mine Tasks->Learning Mine Tasks->' +
|
||||
'Market Data Tasks->Market Trading Tasks->Market Portfolio Tasks->Market Learning Tasks->' +
|
||||
@@ -145,6 +146,7 @@ function newFoundationsFunctionLibraryTaskFunctions() {
|
||||
'Market->Exchange Markets->Crypto Exchange->' +
|
||||
'Market Base Asset->Market Quoted Asset->Asset->' +
|
||||
'Project Data Tasks->Project Trading Tasks->Project Portfolio Tasks->Project Learning Tasks->Project Definition->' +
|
||||
'Managed Sessions->' +
|
||||
'Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->Live Portfolio Session->' +
|
||||
'Back Learning Session->Live Learning Session->' +
|
||||
'Process Definition->' +
|
||||
|
||||
Reference in new issue
Block a user