From ff9aed7253d1a7afb9d1f498124f408a743f9898 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 14 Feb 2021 15:06:05 +0100 Subject: [PATCH] Bug Fixed, Task Server was not running --- Projects/ProjectsSchema.json | 5 +++ Projects/Superalgos/Schemas/AppSchema.json | 44 ------------------- .../Function-Libraries/DependenciesFilter.js | 2 +- .../LearningSessionFunctions.js | 25 ++--------- 4 files changed, 10 insertions(+), 66 deletions(-) diff --git a/Projects/ProjectsSchema.json b/Projects/ProjectsSchema.json index 5d9f0f0f0..eb89db9bc 100644 --- a/Projects/ProjectsSchema.json +++ b/Projects/ProjectsSchema.json @@ -923,6 +923,11 @@ "functionLibraries": [], "utilities": [], "spaces": [] + }, + "TS": { + "globals":[], + "functionLibraries": [], + "utilities": [] } } ] \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/AppSchema.json b/Projects/Superalgos/Schemas/AppSchema.json index 59d1d2b4a..20a560a75 100644 --- a/Projects/Superalgos/Schemas/AppSchema.json +++ b/Projects/Superalgos/Schemas/AppSchema.json @@ -878,39 +878,6 @@ ], "addLeftIcons": true }, - { - "type": "Training Data", - "level": 4, - "propertyNameAtParent": "trainingData", - "editors": { - "code": true - }, - "initialValues": { - "code": "// Type a list of indicators to be used as training data..." - }, - "attachingRules": { - "compatibleTypes": "->Learning System->" - }, - "menuItems": [ - { - "action": "Edit", - "actionFunction": "uiObject.codeEditor.activate", - "label": "Edit", - "iconPathOn": "javascript-code", - "iconPathOff": "javascript-code" - }, - { - "action": "Delete UI Object", - "askConfirmation": true, - "confirmationLabel": "Confirm to Delete", - "actionFunction": "payload.executeAction", - "label": "Delete", - "iconPathOn": "delete-entity", - "iconPathOff": "delete-entity" - } - ], - "addLeftIcons": true - }, { "type": "Javascript Code", "level": 4, @@ -12660,12 +12627,6 @@ { "type": "Learning System", "menuItems": [ - { - "action": "Add UI Object", - "label": "Add Training Data", - "relatedUiObject": "Training Data", - "actionFunction": "payload.executeAction" - }, { "action": "Delete UI Object", "askConfirmation": true, @@ -12680,11 +12641,6 @@ "addLeftIcons": true, "level": 0, "childrenNodesProperties": [ - { - "name": "trainingData", - "type": "array", - "childType": "Training Data" - }, { "name": "machineLearningLibrary", "type": "node", diff --git a/Projects/Superalgos/UI/Function-Libraries/DependenciesFilter.js b/Projects/Superalgos/UI/Function-Libraries/DependenciesFilter.js index 08b48c4e7..70d90bee2 100644 --- a/Projects/Superalgos/UI/Function-Libraries/DependenciesFilter.js +++ b/Projects/Superalgos/UI/Function-Libraries/DependenciesFilter.js @@ -43,7 +43,7 @@ function newSuperalgosFunctionLibraryDependenciesFilter() { return filters function recursiveFilter(node) { - if (node.type === 'Javascript Code' || node.type === 'Formula' || node.type === 'Training Data') { + if (node.type === 'Javascript Code' || node.type === 'Formula' || node.type === 'Feature Formula') { filter(node.code) } diff --git a/Projects/Superalgos/UI/Function-Libraries/LearningSessionFunctions.js b/Projects/Superalgos/UI/Function-Libraries/LearningSessionFunctions.js index 5f892bb0a..3f8111515 100644 --- a/Projects/Superalgos/UI/Function-Libraries/LearningSessionFunctions.js +++ b/Projects/Superalgos/UI/Function-Libraries/LearningSessionFunctions.js @@ -62,27 +62,10 @@ function newSuperalgosFunctionLibraryLearningSessionFunctions() { let lightingPath = '' + 'Learning System->' + - 'Dynamic Indicators->Indicator Function->Formula->' + - 'Learning Strategy->' + - 'Trigger Stage->Trigger On Event->Trigger Off Event->Take Position Event->' + - 'Announcement->Announcement Formula->' + - 'Open Stage->' + - 'Manage Stage->' + - 'Managed Stop Loss->Managed Take Profit->' + - 'Phase->Formula->Next Phase Event->Move To Phase Event->Phase->' + - 'Close Stage Event->' + - 'Situation->Condition->Javascript Code->' + - 'Close Stage->' + - 'Initial Targets->Target Size In Base Asset->Target Size In Quoted Asset->Target Rate->Formula->' + - 'Announcement->Announcement Formula->' + - 'Open Execution->Close Execution->' + - 'Execution Algorithm->Market Buy Order->Market Sell Order->Limit Buy Order->Limit Sell Order->' + - 'Order Rate->Formula->' + - 'Create Order Event->Cancel Order Event->' + - 'Size In Base Asset->Size In Quoted Asset->Position Rate->Formula->' + - 'Situation->Condition->Javascript Code->' + - 'Market Order->Limit Order->' + - 'Simulated Exchange Events->Simulated Partial Fill->Simulated Actual Rate->Simulated Fees Paid->Formula->' + 'Tensor Flow Library->' + + 'Execution Environmnet->Supervised Learning->Unsupervised Learning->Self Learning->Reinforcement Learning->' + + 'WebGL Backend->NodeJS Backend->WASM Backend->CPU Backend->' + + 'Environment Flags->Debug Mode->Production Mode' let learningSystem = UI.projects.superalgos.functionLibraries.protocolNode.getProtocolNode(node.learningSystemReference.payload.referenceParent, false, true, true, false, false, lightingPath)