Refactoring out of Intel and AI
This commit is contained in:
1 parent
9019302847
commit
17e15312ba
7 files changed
+159
-159
No files matched your search
@@ -311,14 +311,14 @@ function newSuperalgosActionSwitch() {
|
||||
functionLibraryTaskFunctions.stopAllTradingMineTasks(action.node, functionLibraryProtocolNode)
|
||||
}
|
||||
break
|
||||
case 'Run All Intel Mine Tasks':
|
||||
case 'Run All Learning Mine Tasks':
|
||||
{
|
||||
functionLibraryTaskFunctions.runAllIntelMineTasks(action.node, functionLibraryProtocolNode)
|
||||
functionLibraryTaskFunctions.runAllLearningMineTasks(action.node, functionLibraryProtocolNode)
|
||||
}
|
||||
break
|
||||
case 'Stop All Intel Mine Tasks':
|
||||
case 'Stop All Learning Mine Tasks':
|
||||
{
|
||||
functionLibraryTaskFunctions.stopAllIntelMineTasks(action.node, functionLibraryProtocolNode)
|
||||
functionLibraryTaskFunctions.stopAllLearningMineTasks(action.node, functionLibraryProtocolNode)
|
||||
}
|
||||
break
|
||||
case 'Add Missing Exchange Data Tasks':
|
||||
@@ -336,9 +336,9 @@ function newSuperalgosActionSwitch() {
|
||||
functionLibraryTaskFunctions.addMissingDataMineTasks(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add Missing Intel Mine Tasks':
|
||||
case 'Add Missing Learning Mine Tasks':
|
||||
{
|
||||
functionLibraryTaskFunctions.addMissingIntelMineTasks(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
functionLibraryTaskFunctions.addMissingLearningMineTasks(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add Missing Exchange Trading Tasks':
|
||||
@@ -366,9 +366,9 @@ function newSuperalgosActionSwitch() {
|
||||
functionLibraryTaskFunctions.addMissingMarketLearningTasks(action.node, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add Missing Intel Mine Tasks':
|
||||
case 'Add Missing Learning Mine Tasks':
|
||||
{
|
||||
functionLibraryTaskFunctions.addMissingIntelMineTasks(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
functionLibraryTaskFunctions.addMissingLearningMineTasks(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add All Tasks':
|
||||
@@ -416,9 +416,9 @@ function newSuperalgosActionSwitch() {
|
||||
functionLibraryDataStorageFunctions.addAllDataMineProducts(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add All Intel Mine Products':
|
||||
case 'Add All Learning Mine Products':
|
||||
{
|
||||
functionLibraryDataStorageFunctions.addAllIntelMineProducts(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
functionLibraryDataStorageFunctions.addAllLearningMineProducts(action.node, action.rootNodes, functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
break
|
||||
case 'Add All Trading Mine Products':
|
||||
|
||||
@@ -211,9 +211,9 @@ function newChartingSpaceFunctions() {
|
||||
menu.internalClick('Add All Mine Layers')
|
||||
}
|
||||
/*
|
||||
We need to create a Timeline Chart for each Intel Mine Products.
|
||||
We need to create a Timeline Chart for each Learning Mine Products.
|
||||
*/
|
||||
mineProducts = UI.projects.superalgos.utilities.branches.nodeBranchToArray(networkNode, 'Intel Mine Products')
|
||||
mineProducts = UI.projects.superalgos.utilities.branches.nodeBranchToArray(networkNode, 'Learning Mine Products')
|
||||
for (let j = 0; j < mineProducts.length; j++) {
|
||||
let mineProduct = mineProducts[j]
|
||||
/*
|
||||
|
||||
@@ -267,20 +267,20 @@ function newCryptoEcosystemFunctions() {
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketDataTask, 'Add Missing Data Mine Tasks', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketDataTask.dataMineTasks, 'Add All Tasks', true)
|
||||
/*
|
||||
Here we complete the missing stuff at Intel Mining
|
||||
Here we complete the missing stuff at Learning Mining
|
||||
*/
|
||||
let intelMining = UI.projects.superalgos.utilities.branches.findInBranch(networkNode, 'Intel Mining', node, true)
|
||||
if (intelMining === undefined) {
|
||||
node.payload.uiObject.setErrorMessage('Intel Mining node not found at Network Node ' + networkNode.name)
|
||||
let learningMining = UI.projects.superalgos.utilities.branches.findInBranch(networkNode, 'Learning Mining', node, true)
|
||||
if (learningMining === undefined) {
|
||||
node.payload.uiObject.setErrorMessage('Learning Mining node not found at Network Node ' + networkNode.name)
|
||||
return
|
||||
}
|
||||
|
||||
let exchangeLearningTasks = UI.projects.superalgos.utilities.children.findOrCreateChildWithReference(intelMining, 'Exchange Learning Tasks', cryptoExchange, functionLibraryUiObjectsFromNodes)
|
||||
let exchangeLearningTasks = UI.projects.superalgos.utilities.children.findOrCreateChildWithReference(learningMining, 'Exchange Learning Tasks', cryptoExchange, functionLibraryUiObjectsFromNodes)
|
||||
exchangeLearningTasks.payload.floatingObject.angleToParent = ANGLE_TO_PARENT.RANGE_180
|
||||
let marketLearningTask = UI.projects.superalgos.utilities.children.findAndRecreateChildWithReference(exchangeLearningTasks, 'Market Learning Tasks', market, rootNodes, functionLibraryUiObjectsFromNodes, functionLibraryNodeDeleter)
|
||||
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketLearningTask, 'Add Missing Intel Mine Tasks', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketLearningTask.intelMineTasks, 'Add All Tasks', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketLearningTask, 'Add Missing Learning Mine Tasks', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketLearningTask.learningMineTasks, 'Add All Tasks', true)
|
||||
|
||||
let sessionsCreatedArray = []
|
||||
/*
|
||||
@@ -334,21 +334,21 @@ function newCryptoEcosystemFunctions() {
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketDataProducts, 'Add All Data Mine Products', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketDataProducts.dataMineProducts, 'Add All Data Products', true)
|
||||
/*
|
||||
Here we complete the missing stuff at Intel Mines Data
|
||||
Here we complete the missing stuff at Learning Mines Data
|
||||
*/
|
||||
let intelMineData = UI.projects.superalgos.utilities.branches.findInBranch(networkNode, 'Intel Mines Data', node, true)
|
||||
if (intelMineData === undefined) {
|
||||
node.payload.uiObject.setErrorMessage('Intel Mines Data node not found at Network Node ' + networkNode.name)
|
||||
let learningMineData = UI.projects.superalgos.utilities.branches.findInBranch(networkNode, 'Learning Mines Data', node, true)
|
||||
if (learningMineData === undefined) {
|
||||
node.payload.uiObject.setErrorMessage('Learning Mines Data node not found at Network Node ' + networkNode.name)
|
||||
return
|
||||
}
|
||||
|
||||
let exchangeIntelProducts = UI.projects.superalgos.utilities.children.findOrCreateChildWithReference(intelMineData, 'Exchange Intel Products', cryptoExchange, functionLibraryUiObjectsFromNodes)
|
||||
exchangeIntelProducts.payload.floatingObject.angleToParent = ANGLE_TO_PARENT.RANGE_180
|
||||
let marketIntelProducts = UI.projects.superalgos.utilities.children.findAndRecreateChildWithReference(exchangeIntelProducts, 'Market Intel Products', market, rootNodes, functionLibraryUiObjectsFromNodes, functionLibraryNodeDeleter)
|
||||
marketIntelProducts.payload.floatingObject.collapseToggle()
|
||||
let exchangeLearningProducts = UI.projects.superalgos.utilities.children.findOrCreateChildWithReference(learningMineData, 'Exchange Learning Products', cryptoExchange, functionLibraryUiObjectsFromNodes)
|
||||
exchangeLearningProducts.payload.floatingObject.angleToParent = ANGLE_TO_PARENT.RANGE_180
|
||||
let marketLearningProducts = UI.projects.superalgos.utilities.children.findAndRecreateChildWithReference(exchangeLearningProducts, 'Market Learning Products', market, rootNodes, functionLibraryUiObjectsFromNodes, functionLibraryNodeDeleter)
|
||||
marketLearningProducts.payload.floatingObject.collapseToggle()
|
||||
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketIntelProducts, 'Add All Intel Mine Products', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketIntelProducts.intelMineProducts, 'Add All Intel Products', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClick(marketLearningProducts, 'Add All Learning Mine Products', true)
|
||||
UI.projects.superalgos.utilities.menu.menuClickOfNodeArray(marketLearningProducts.learningMineProducts, 'Add All Learning Products', true)
|
||||
/*
|
||||
Finally we complete the missing stuff at Trading Mines Data
|
||||
*/
|
||||
|
||||
@@ -3,7 +3,7 @@ function newDataStorageFunctions() {
|
||||
addAllDataProducts: addAllDataProducts,
|
||||
addAllDataMineProducts: addAllDataMineProducts,
|
||||
addAllTradingMineProducts: addAllTradingMineProducts,
|
||||
addAllIntelMineProducts: addAllIntelMineProducts,
|
||||
addAllLearningMineProducts: addAllLearningMineProducts,
|
||||
addMissingSessionReferences: addMissingSessionReferences,
|
||||
addMissingMarketDataProducts: addMissingMarketDataProducts,
|
||||
addMissingMarketTradingProducts: addMissingMarketTradingProducts,
|
||||
@@ -85,13 +85,13 @@ function newDataStorageFunctions() {
|
||||
}
|
||||
}
|
||||
|
||||
function addAllIntelMineProducts(node, rootNodes, functionLibraryUiObjectsFromNodes) {
|
||||
function addAllLearningMineProducts(node, rootNodes, functionLibraryUiObjectsFromNodes) {
|
||||
for (let i = 0; i < rootNodes.length; i++) {
|
||||
let rootNode = rootNodes[i]
|
||||
|
||||
if (rootNode.type === 'Intel Mine') {
|
||||
let intelMineProducts = functionLibraryUiObjectsFromNodes.addUIObject(node, 'Intel Mine Products')
|
||||
intelMineProducts.payload.referenceParent = rootNode
|
||||
if (rootNode.type === 'Learning Mine') {
|
||||
let learningMineProducts = functionLibraryUiObjectsFromNodes.addUIObject(node, 'Learning Mine Products')
|
||||
learningMineProducts.payload.referenceParent = rootNode
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,8 +27,8 @@ function newTaskFunctions() {
|
||||
stopAllDataMineTasks: stopAllDataMineTasks,
|
||||
runAllTradingMineTasks: runAllTradingMineTasks,
|
||||
stopAllTradingMineTasks: stopAllTradingMineTasks,
|
||||
runAllIntelMineTasks: runAllIntelMineTasks,
|
||||
stopAllIntelMineTasks: stopAllIntelMineTasks,
|
||||
runAllLearningMineTasks: runAllLearningMineTasks,
|
||||
stopAllLearningMineTasks: stopAllLearningMineTasks,
|
||||
|
||||
addMissingExchangeDataTasks: addMissingExchangeDataTasks,
|
||||
addMissingMarketDataTasks: addMissingMarketDataTasks,
|
||||
@@ -38,7 +38,7 @@ function newTaskFunctions() {
|
||||
addMissingTradingMineTasks: addMissingTradingMineTasks,
|
||||
addMissingExchangeLearningTasks: addMissingExchangeLearningTasks,
|
||||
addMissingMarketLearningTasks: addMissingMarketLearningTasks,
|
||||
addMissingIntelMineTasks: addMissingIntelMineTasks,
|
||||
addMissingLearningMineTasks: addMissingLearningMineTasks,
|
||||
|
||||
addAllTasks: addAllTasks
|
||||
}
|
||||
@@ -101,12 +101,12 @@ function newTaskFunctions() {
|
||||
'Sensor Bot Instance->' +
|
||||
'Indicator Bot Instance->Time Frames Filter->' +
|
||||
'Trading Bot Instance->' +
|
||||
'AI Bot Instance->' +
|
||||
'Sensor Process Instance->Indicator Process Instance->Trading Process Instance->AI Process Instance->' +
|
||||
'Learning Bot Instance->' +
|
||||
'Sensor Process Instance->Indicator Process Instance->Trading Process Instance->Learning Process Instance->' +
|
||||
'Execution Started Event->' +
|
||||
'Key Reference->Exchange Account Key->' +
|
||||
'Task Manager->' +
|
||||
'Data Mine Tasks->Trading Mine Tasks->Intel Mine Tasks->' +
|
||||
'Data Mine Tasks->Trading Mine Tasks->Learning Mine Tasks->' +
|
||||
'Market Data Tasks->Market Trading Tasks->' +
|
||||
'Exchange Data Tasks->Exchange Trading Tasks->Exchange Learning Tasks->' +
|
||||
'Market->Exchange Markets->Crypto Exchange->' +
|
||||
@@ -136,8 +136,8 @@ function newTaskFunctions() {
|
||||
'Product Definition Folder->Product Definition Folder->Product Definition Folder->Product Definition Folder->Product Definition Folder->' +
|
||||
'Indicator Bot->' +
|
||||
'Trading Bot->' +
|
||||
'AI Bot->' +
|
||||
'Data Mine->Trading Mine->Intel Mine->'
|
||||
'Learning Bot->' +
|
||||
'Data Mine->Trading Mine->Learning Mine->'
|
||||
|
||||
let taskDefinition = functionLibraryProtocolNode.getProtocolNode(node, false, true, true, false, false, taskLightingPath)
|
||||
|
||||
@@ -150,10 +150,10 @@ function newTaskFunctions() {
|
||||
'Data Mining->Testing Environment->Production Environment->' +
|
||||
'Exchange Data Tasks->Exchange Trading Tasks->Exchange Learning Tasks->Crypto Exchange->' +
|
||||
'Market Data Tasks->Market Trading Tasks->Market Learning Tasks->Market->' +
|
||||
'Data Mine Tasks->Trading Mine Tasks->Intel Mine Tasks->' +
|
||||
'Data Mine Tasks->Trading Mine Tasks->Learning Mine Tasks->' +
|
||||
'Task Manager->Task->' +
|
||||
'Indicator Bot Instance->Sensor Bot Instance->Trading Bot Instance->AI Bot Instance->' +
|
||||
'Indicator Process Instance->Sensor Process Instance->Trading Process Instance->AI Process Instance->' +
|
||||
'Indicator Bot Instance->Sensor Bot Instance->Trading Bot Instance->Learning Bot Instance->' +
|
||||
'Indicator Process Instance->Sensor Process Instance->Trading Process Instance->Learning Process Instance->' +
|
||||
'Paper Trading Session->Forward Testing Session->Backtesting Session->Live Trading Session->Learning Session->' +
|
||||
'Market->' +
|
||||
'Process Definition->'
|
||||
@@ -401,8 +401,8 @@ function newTaskFunctions() {
|
||||
let node = parent.marketLearningTasks[i]
|
||||
let menu = node.payload.uiObject.menu
|
||||
|
||||
menu.internalClick('Run All Intel Mine Tasks')
|
||||
menu.internalClick('Run All Intel Mine Tasks')
|
||||
menu.internalClick('Run All Learning Mine Tasks')
|
||||
menu.internalClick('Run All Learning Mine Tasks')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -421,8 +421,8 @@ function newTaskFunctions() {
|
||||
let node = parent.marketLearningTasks[i]
|
||||
let menu = node.payload.uiObject.menu
|
||||
|
||||
menu.internalClick('Stop All Intel Mine Tasks')
|
||||
menu.internalClick('Stop All Intel Mine Tasks')
|
||||
menu.internalClick('Stop All Learning Mine Tasks')
|
||||
menu.internalClick('Stop All Learning Mine Tasks')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -456,9 +456,9 @@ function newTaskFunctions() {
|
||||
}
|
||||
}
|
||||
|
||||
function runAllIntelMineTasks(parent, functionLibraryProtocolNode) {
|
||||
for (let i = 0; i < parent.intelMineTasks.length; i++) {
|
||||
let node = parent.intelMineTasks[i]
|
||||
function runAllLearningMineTasks(parent, functionLibraryProtocolNode) {
|
||||
for (let i = 0; i < parent.learningMineTasks.length; i++) {
|
||||
let node = parent.learningMineTasks[i]
|
||||
let menu = node.payload.uiObject.menu
|
||||
|
||||
menu.internalClick('Run All Task Managers')
|
||||
@@ -476,9 +476,9 @@ function newTaskFunctions() {
|
||||
}
|
||||
}
|
||||
|
||||
function stopAllIntelMineTasks(parent, functionLibraryProtocolNode) {
|
||||
for (let i = 0; i < parent.intelMineTasks.length; i++) {
|
||||
let node = parent.intelMineTasks[i]
|
||||
function stopAllLearningMineTasks(parent, functionLibraryProtocolNode) {
|
||||
for (let i = 0; i < parent.learningMineTasks.length; i++) {
|
||||
let node = parent.learningMineTasks[i]
|
||||
let menu = node.payload.uiObject.menu
|
||||
|
||||
menu.internalClick('Stop All Task Managers')
|
||||
@@ -554,8 +554,8 @@ function newTaskFunctions() {
|
||||
addMissingMineTasks(node, rootNodes, 'Trading Mine', 'Trading Mine Tasks', functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
|
||||
function addMissingIntelMineTasks(node, rootNodes, functionLibraryUiObjectsFromNodes) {
|
||||
addMissingMineTasks(node, rootNodes, 'Intel Mine', 'Intel Mine Tasks', functionLibraryUiObjectsFromNodes)
|
||||
function addMissingLearningMineTasks(node, rootNodes, functionLibraryUiObjectsFromNodes) {
|
||||
addMissingMineTasks(node, rootNodes, 'Learning Mine', 'Learning Mine Tasks', functionLibraryUiObjectsFromNodes)
|
||||
}
|
||||
|
||||
function addMissingMineTasks(node, rootNodes, rootNodeType, newNodeType, functionLibraryUiObjectsFromNodes) {
|
||||
@@ -585,7 +585,7 @@ function newTaskFunctions() {
|
||||
addDataTasks()
|
||||
break
|
||||
}
|
||||
case 'Intel Mine Tasks': {
|
||||
case 'Learning Mine Tasks': {
|
||||
addLearningTasks()
|
||||
break
|
||||
}
|
||||
@@ -650,8 +650,8 @@ function newTaskFunctions() {
|
||||
botInstance.name = bot.name
|
||||
break
|
||||
}
|
||||
case 'AI Bot': {
|
||||
botInstance = functionLibraryUiObjectsFromNodes.addUIObject(task, 'AI Bot Instance')
|
||||
case 'Learning Bot': {
|
||||
botInstance = functionLibraryUiObjectsFromNodes.addUIObject(task, 'Learning Bot Instance')
|
||||
botInstance.name = bot.name
|
||||
break
|
||||
}
|
||||
@@ -713,8 +713,8 @@ function newTaskFunctions() {
|
||||
}
|
||||
}
|
||||
}
|
||||
case 'AI Bot': {
|
||||
processInstance = functionLibraryUiObjectsFromNodes.addUIObject(botInstance, 'AI Process Instance')
|
||||
case 'Learning Bot': {
|
||||
processInstance = functionLibraryUiObjectsFromNodes.addUIObject(botInstance, 'Learning Process Instance')
|
||||
processInstance.payload.referenceParent = process
|
||||
|
||||
let session
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Intel Mine",
|
||||
"relatedUiObject": "Intel Mine",
|
||||
"label": "Add Learning Mine",
|
||||
"relatedUiObject": "Learning Mine",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -1923,9 +1923,9 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "intelMining",
|
||||
"label": "Add Intel Mining",
|
||||
"relatedUiObject": "Intel Mining",
|
||||
"propertyToCheckFor": "learningMining",
|
||||
"label": "Add Learning Mining",
|
||||
"relatedUiObject": "Learning Mining",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -1982,9 +1982,9 @@
|
||||
"autoAdd": true
|
||||
},
|
||||
{
|
||||
"name": "intelMining",
|
||||
"name": "learningMining",
|
||||
"type": "node",
|
||||
"childType": "Intel Mining",
|
||||
"childType": "Learning Mining",
|
||||
"autoAdd": true
|
||||
},
|
||||
{
|
||||
@@ -2050,7 +2050,7 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Data Mine Tasks->Trading Mine Tasks->Intel Mine Tasks->"
|
||||
"compatibleTypes": "->Data Mine Tasks->Trading Mine Tasks->Learning Mine Tasks->"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
@@ -2120,8 +2120,8 @@
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "bot",
|
||||
"label": "Add AI Bot Instance",
|
||||
"relatedUiObject": "AI Bot Instance",
|
||||
"label": "Add Learning Bot Instance",
|
||||
"relatedUiObject": "Learning Bot Instance",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -2167,7 +2167,7 @@
|
||||
{
|
||||
"name": "bot",
|
||||
"type": "node",
|
||||
"childType": "AI Bot Instance"
|
||||
"childType": "Learning Bot Instance"
|
||||
},
|
||||
{
|
||||
"name": "keyReference",
|
||||
@@ -2226,7 +2226,7 @@
|
||||
"propertyNameAtParent": "bot"
|
||||
},
|
||||
{
|
||||
"type": "AI Bot Instance",
|
||||
"type": "Learning Bot Instance",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
@@ -2239,7 +2239,7 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Process Instance",
|
||||
"relatedUiObject": "AI Process Instance",
|
||||
"relatedUiObject": "Learning Process Instance",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -2267,7 +2267,7 @@
|
||||
{
|
||||
"name": "processes",
|
||||
"type": "array",
|
||||
"childType": "AI Process Instance",
|
||||
"childType": "Learning Process Instance",
|
||||
"autoAdd": false
|
||||
}
|
||||
],
|
||||
@@ -2429,7 +2429,7 @@
|
||||
"propertyNameAtParent": "processes"
|
||||
},
|
||||
{
|
||||
"type": "AI Process Instance",
|
||||
"type": "Learning Process Instance",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -10327,7 +10327,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Intel Mine",
|
||||
"type": "Learning Mine",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
@@ -10339,8 +10339,8 @@
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add AI Bot",
|
||||
"relatedUiObject": "AI Bot",
|
||||
"label": "Add Learning Bot",
|
||||
"relatedUiObject": "Learning Bot",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -10371,9 +10371,9 @@
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"name": "aiBots",
|
||||
"name": "learningBots",
|
||||
"type": "array",
|
||||
"childType": "AI Bot"
|
||||
"childType": "Learning Bot"
|
||||
},
|
||||
{
|
||||
"name": "plotters",
|
||||
@@ -10481,7 +10481,7 @@
|
||||
},
|
||||
"level": 1,
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->AI Bot->"
|
||||
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->Learning Bot->"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
@@ -10823,7 +10823,7 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Trading Bot->AI Bot->Product Definition Folder->"
|
||||
"compatibleTypes": "->Trading Bot->Learning Bot->Product Definition Folder->"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
@@ -10895,7 +10895,7 @@
|
||||
"compatibleTypes": "->Plotter Module->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->AI Bot->Product Definition Folder->"
|
||||
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->Learning Bot->Product Definition Folder->"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
@@ -11473,7 +11473,7 @@
|
||||
"propertyNameAtParent": "tradingBots"
|
||||
},
|
||||
{
|
||||
"type": "AI Bot",
|
||||
"type": "Learning Bot",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
@@ -11521,7 +11521,7 @@
|
||||
},
|
||||
"level": 3,
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Intel Mine->"
|
||||
"compatibleTypes": "->Learning Mine->"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
@@ -11543,7 +11543,7 @@
|
||||
"autoAdd": true
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "aiBots",
|
||||
"propertyNameAtParent": "learningBots",
|
||||
"icon": "bitcoin"
|
||||
},
|
||||
{
|
||||
@@ -14787,7 +14787,7 @@
|
||||
"compatibleTypes": "->Timeline Chart->"
|
||||
},
|
||||
"referenceAttachesTo": {
|
||||
"compatibleTypes": "->Data Mine Products->Trading Mine Products->Intel Mine Products->"
|
||||
"compatibleTypes": "->Data Mine Products->Trading Mine Products->Learning Mine Products->"
|
||||
},
|
||||
"propertyNameAtParent": "layerManager",
|
||||
"properties": [
|
||||
@@ -14975,9 +14975,9 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "intelMinesData",
|
||||
"label": "Add Intel Mines Data",
|
||||
"relatedUiObject": "Intel Mines Data",
|
||||
"propertyToCheckFor": "learningMinesData",
|
||||
"label": "Add Learning Mines Data",
|
||||
"relatedUiObject": "Learning Mines Data",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -15010,9 +15010,9 @@
|
||||
"autoAdd": true
|
||||
},
|
||||
{
|
||||
"name": "intelMinesData",
|
||||
"name": "learningMinesData",
|
||||
"type": "node",
|
||||
"childType": "Intel Mines Data",
|
||||
"childType": "Learning Mines Data",
|
||||
"autoAdd": true
|
||||
}
|
||||
]
|
||||
@@ -15160,7 +15160,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Intel Mine Tasks",
|
||||
"type": "Learning Mine Tasks",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Run All Task Managers",
|
||||
@@ -15210,7 +15210,7 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"referenceAttachesTo": {
|
||||
"compatibleTypes": "->Intel Mine->"
|
||||
"compatibleTypes": "->Learning Mine->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Market Learning Tasks->"
|
||||
@@ -15220,7 +15220,7 @@
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"isTitleAllwaysVisible": true,
|
||||
"propertyNameAtParent": "intelMineTasks",
|
||||
"propertyNameAtParent": "learningMineTasks",
|
||||
"properties": [
|
||||
{
|
||||
"name": "taskManagers",
|
||||
@@ -15379,8 +15379,8 @@
|
||||
"type": "Market Learning Tasks",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Run All Intel Mine Tasks",
|
||||
"label": "Run All Intel Mine Tasks",
|
||||
"action": "Run All Learning Mine Tasks",
|
||||
"label": "Run All Learning Mine Tasks",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Run",
|
||||
"workDoneLabel": "Run Request Sent",
|
||||
@@ -15389,8 +15389,8 @@
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Stop All Intel Mine Tasks",
|
||||
"label": "Stop All Intel Mine Tasks",
|
||||
"action": "Stop All Learning Mine Tasks",
|
||||
"label": "Stop All Learning Mine Tasks",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Stop",
|
||||
"workDoneLabel": "Stop Request Sent",
|
||||
@@ -15400,17 +15400,17 @@
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Intel Mine Tasks",
|
||||
"relatedUiObject": "Intel Mine Tasks",
|
||||
"label": "Add Learning Mine Tasks",
|
||||
"relatedUiObject": "Learning Mine Tasks",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add Missing Intel Mine Tasks",
|
||||
"label": "Add Missing Intel Mine Tasks",
|
||||
"action": "Add Missing Learning Mine Tasks",
|
||||
"label": "Add Missing Learning Mine Tasks",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Intel Mine Tasks",
|
||||
"relatedUiObject": "Learning Mine Tasks",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -15440,9 +15440,9 @@
|
||||
"propertyNameAtParent": "marketLearningTasks",
|
||||
"properties": [
|
||||
{
|
||||
"name": "intelMineTasks",
|
||||
"name": "learningMineTasks",
|
||||
"type": "array",
|
||||
"childType": "Intel Mine Tasks",
|
||||
"childType": "Learning Mine Tasks",
|
||||
"monitorChildrenRunning": true
|
||||
}
|
||||
],
|
||||
@@ -15644,7 +15644,7 @@
|
||||
"compatibleTypes": "->Crypto Exchange->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Intel Mining->"
|
||||
"compatibleTypes": "->Learning Mining->"
|
||||
},
|
||||
"alternativeIcons": "Use Reference Parent",
|
||||
"title": [
|
||||
@@ -15726,7 +15726,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Intel Mining",
|
||||
"type": "Learning Mining",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Run All Exchange Learning Tasks",
|
||||
@@ -15778,7 +15778,7 @@
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Network Node->"
|
||||
},
|
||||
"propertyNameAtParent": "intelMining",
|
||||
"propertyNameAtParent": "learningMining",
|
||||
"properties": [
|
||||
{
|
||||
"name": "exchangeLearningTasks",
|
||||
@@ -16059,21 +16059,21 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Exchange Intel Products",
|
||||
"type": "Exchange Learning Products",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Market Intel Products",
|
||||
"relatedUiObject": "Market Intel Products",
|
||||
"label": "Add Market Learning Products",
|
||||
"relatedUiObject": "Market Learning Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add Missing Market Intel Products",
|
||||
"action": "Add Missing Market Learning Products",
|
||||
"label": "Add Missing Markets",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Market Intel Products",
|
||||
"relatedUiObject": "Market Learning Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -16097,14 +16097,14 @@
|
||||
"compatibleTypes": "->Crypto Exchange->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Intel Mines Data->"
|
||||
"compatibleTypes": "->Learning Mines Data->"
|
||||
},
|
||||
"propertyNameAtParent": "exchangeIntelProducts",
|
||||
"propertyNameAtParent": "exchangeLearningProducts",
|
||||
"properties": [
|
||||
{
|
||||
"name": "marketIntelProducts",
|
||||
"name": "marketLearningProducts",
|
||||
"type": "array",
|
||||
"childType": "Market Intel Products",
|
||||
"childType": "Market Learning Products",
|
||||
"autoAdd": false
|
||||
}
|
||||
],
|
||||
@@ -16153,21 +16153,21 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Intel Mines Data",
|
||||
"type": "Learning Mines Data",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Exchange Intel Products",
|
||||
"relatedUiObject": "Exchange Intel Products",
|
||||
"label": "Add Exchange Learning Products",
|
||||
"relatedUiObject": "Exchange Learning Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add Missing Exchange Intel Products",
|
||||
"action": "Add Missing Exchange Learning Products",
|
||||
"label": "Add Missing Exchanges",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Exchange Intel Products",
|
||||
"relatedUiObject": "Exchange Learning Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -16185,12 +16185,12 @@
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Data Storage->"
|
||||
},
|
||||
"propertyNameAtParent": "intelMinesData",
|
||||
"propertyNameAtParent": "learningMinesData",
|
||||
"properties": [
|
||||
{
|
||||
"name": "exchangeIntelProducts",
|
||||
"name": "exchangeLearningProducts",
|
||||
"type": "array",
|
||||
"childType": "Exchange Intel Products"
|
||||
"childType": "Exchange Learning Products"
|
||||
}
|
||||
],
|
||||
"icon": "bitcoin"
|
||||
@@ -16261,7 +16261,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "AI Session Reference",
|
||||
"type": "Learning Session Reference",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -16271,17 +16271,17 @@
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Intel Mine Products",
|
||||
"relatedUiObject": "Intel Mine Products",
|
||||
"label": "Add Learning Mine Products",
|
||||
"relatedUiObject": "Learning Mine Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add All Intel Mine Products",
|
||||
"label": "Add All Intel Mine Products",
|
||||
"action": "Add All Learning Mine Products",
|
||||
"label": "Add All Learning Mine Products",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Intel Mine Products",
|
||||
"relatedUiObject": "Learning Mine Products",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -16307,9 +16307,9 @@
|
||||
"compatibleTypes": "->Learning Session->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Market Intel Products->"
|
||||
"compatibleTypes": "->Market Learning Products->"
|
||||
},
|
||||
"propertyNameAtParent": "aiSessionReferences",
|
||||
"propertyNameAtParent": "learningSessionReferences",
|
||||
"properties": [
|
||||
{
|
||||
"name": "dataProducts",
|
||||
@@ -16318,9 +16318,9 @@
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "intelMineProducts",
|
||||
"name": "learningMineProducts",
|
||||
"type": "array",
|
||||
"childType": "Intel Mine Products",
|
||||
"childType": "Learning Mine Products",
|
||||
"autoAdd": false
|
||||
}
|
||||
],
|
||||
@@ -16440,12 +16440,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Market Intel Products",
|
||||
"type": "Market Learning Products",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add AI Session Reference",
|
||||
"relatedUiObject": "AI Session Reference",
|
||||
"label": "Add Learning Session Reference",
|
||||
"relatedUiObject": "Learning Session Reference",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -16454,7 +16454,7 @@
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "AI Session Reference",
|
||||
"relatedUiObject": "Learning Session Reference",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
@@ -16478,14 +16478,14 @@
|
||||
"compatibleTypes": "->Market->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Exchange Intel Products->"
|
||||
"compatibleTypes": "->Exchange Learning Products->"
|
||||
},
|
||||
"propertyNameAtParent": "marketIntelProducts",
|
||||
"propertyNameAtParent": "marketLearningProducts",
|
||||
"properties": [
|
||||
{
|
||||
"name": "aiSessionReferences",
|
||||
"name": "learningSessionReferences",
|
||||
"type": "array",
|
||||
"childType": "AI Session Reference"
|
||||
"childType": "Learning Session Reference"
|
||||
}
|
||||
],
|
||||
"icon": "bitcoin"
|
||||
@@ -16619,7 +16619,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Intel Mine Products",
|
||||
"type": "Learning Mine Products",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -16653,12 +16653,12 @@
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"referenceAttachesTo": {
|
||||
"compatibleTypes": "->Intel Mine->"
|
||||
"compatibleTypes": "->Learning Mine->"
|
||||
},
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->AI Session Reference->"
|
||||
"compatibleTypes": "->Learning Session Reference->"
|
||||
},
|
||||
"propertyNameAtParent": "intelMineProducts",
|
||||
"propertyNameAtParent": "learningMineProducts",
|
||||
"properties": [
|
||||
{
|
||||
"name": "botProducts",
|
||||
@@ -16697,7 +16697,7 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"chainAttachesTo": {
|
||||
"compatibleTypes": "->Data Mine Products->Trading Mine Products->Intel Mine Products->"
|
||||
"compatibleTypes": "->Data Mine Products->Trading Mine Products->Learning Mine Products->"
|
||||
},
|
||||
"propertyNameAtParent": "botProducts",
|
||||
"properties": [
|
||||
|
||||
@@ -161,12 +161,12 @@ function newLayer() {
|
||||
'->Layer->' +
|
||||
'Data Product->' +
|
||||
'Data Product Folder->Data Product Folder->Data Product Folder->Data Product Folder->Data Product Folder->' +
|
||||
'Bot Products->Data Mine Products->Trading Mine Products->Intel Mine Products->' +
|
||||
'Bot Products->Data Mine Products->Trading Mine Products->Learning Mine Products->' +
|
||||
'Market Data Products->Exchange Data Products->' +
|
||||
'Trading Session Reference->' +
|
||||
'Market Trading Products->Exchange Trading Products->' +
|
||||
'Market Intel Products->Exchange Intel Products->' +
|
||||
'Data Mines Data->Trading Mines Data->Intel Mines Data->Data Storage->Network Node->' +
|
||||
'Market Learning Products->Exchange Learning Products->' +
|
||||
'Data Mines Data->Trading Mines Data->Learning Mines Data->Data Storage->Network Node->' +
|
||||
'Data Storage->Network Node->' +
|
||||
'Backtesting Session->Paper Trading Session->Forward Testing Session->Live Trading Session->' +
|
||||
'Learning Session->' +
|
||||
@@ -176,8 +176,8 @@ function newLayer() {
|
||||
'Exchange Markets->Crypto Exchange->' +
|
||||
'Product Definition->' +
|
||||
'Product Definition Folder->Product Definition Folder->Product Definition Folder->Product Definition Folder->Product Definition Folder->' +
|
||||
'Sensor Bot->Indicator Bot->Trading Bot->AI Bot->' +
|
||||
'Data Mine->Trading Mine->Intel Mine->' +
|
||||
'Sensor Bot->Indicator Bot->Trading Bot->Learning Bot->' +
|
||||
'Data Mine->Trading Mine->Learning Mine->' +
|
||||
'Dataset Definition->' +
|
||||
'Record Definition->Record Property->Formula->' +
|
||||
'Data Building Procedure->Procedure Loop->Javascript Code->Procedure Initialization->Javascript Code->' +
|
||||
@@ -232,7 +232,7 @@ function newLayer() {
|
||||
thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Trading Bot', undefined, false, true, true, true)
|
||||
}
|
||||
if (thisObject.bot === undefined) {
|
||||
thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'AI Bot', undefined, false, true, true, true)
|
||||
thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Learning Bot', undefined, false, true, true, true)
|
||||
}
|
||||
if (thisObject.bot === undefined) {
|
||||
thisObject.payload.uiObject.setErrorMessage('Bot not Found')
|
||||
@@ -243,9 +243,9 @@ function newLayer() {
|
||||
if (thisObject.mine === undefined) {
|
||||
thisObject.mine = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Trading Mine', undefined, false, true, true, true)
|
||||
if (thisObject.mine === undefined) {
|
||||
thisObject.mine = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Intel Mine', undefined, false, true, true, true)
|
||||
thisObject.mine = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Learning Mine', undefined, false, true, true, true)
|
||||
if (thisObject.mine === undefined) {
|
||||
thisObject.payload.uiObject.setErrorMessage('Data Mine or Trading Mine or Intel Mine not Found')
|
||||
thisObject.payload.uiObject.setErrorMessage('Data Mine or Trading Mine or Learning Mine not Found')
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user