Merge pull request #466 from Luis-Fernando-Molina/develop

Contribution: Reference to Phase Node Missing Error handlling Improved / Integrated with Docs
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-01-25 14:46:29 +01:00
commit 13fe2e7cfb
3 files changed
+51 -2

No files matched your search

@@ -0,0 +1,13 @@
{
"type": "LF Trading Bot",
"definition": {
"text": "The Low Frequency Trading Bot is an implementation of at the Masters Trading Mine of a Trading Bot specialized in executing strategies for time frames of 1 minute and above. ",
"updated": 1611581184850
},
"paragraphs": [
{
"style": "Text",
"text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode. Then you can use doscs.save to save your changes and app.contribute to send it to the main repository."
}
]
}
@@ -0,0 +1,20 @@
{
"topic": "TS LF Trading Bot Errors",
"pageNumber": "4",
"type": "TS LF Trading Bot Error - Reference to Phase Node Missing",
"definition": {
"text": "The Move To Phase Event Node where this error poped up is expected to reference a Phase Node so that when all conditions are met, the LF Trading Bot can swith to the referenced Phase.",
"updated": 1611581788332
},
"paragraphs": [
{
"style": "Text",
"text": "This error happens when the conditions to switch phases are met but the LF Trading Bot cannot find a reference to the Phase where it should switch to.",
"updated": 1611581092289
},
{
"style": "Success",
"text": "To fix this, simply establish a reference from this Node to a Phase node."
}
]
}
@@ -601,7 +601,15 @@ exports.newSuperalgosBotModulesTradingStages = function (processIndex) {
}
}
} else {
tradingSystem.errors.push([moveToPhaseEvent.id, 'This Node needs to reference a Phase.'])
let docs = {
project: 'Superalgos',
category: 'Topic',
type: 'TS LF Trading Bot Error - Reference to Phase Node Missing',
placeholder: {}
}
tradingSystem.errors.push([moveToPhaseEvent.id, 'This Node needs to reference a Phase.', docs])
continue
}
@@ -700,7 +708,15 @@ exports.newSuperalgosBotModulesTradingStages = function (processIndex) {
}
}
} else {
tradingSystem.errors.push([moveToPhaseEvent.id, 'This Node needs to reference a Phase.'])
let docs = {
project: 'Superalgos',
category: 'Topic',
type: 'TS LF Trading Bot Error - Reference to Phase Node Missing',
placeholder: {}
}
tradingSystem.errors.push([moveToPhaseEvent.id, 'This Node needs to reference a Phase.', docs])
continue
}