From 3412512e7d5fe3da76974fba8ca053258bf0ed82 Mon Sep 17 00:00:00 2001 From: Julian Molina Date: Fri, 29 Jan 2021 17:42:59 +0100 Subject: [PATCH] Initial Targets Node Missing --- Client/WebServer/css/docs.css | 6 +++--- .../Docs-Concepts/trading-session.json | 14 +++++++++++++ ...messages-001-docs-message-saving-done.json | 2 +- ...error-reference-to-phase-node-missing.json | 20 ++++++++++++++++--- ...ing-bot-error-maximum-balance-reached.json | 18 +++++++++++++---- ...ing-bot-error-minimum-balance-reached.json | 8 ++++---- ...ot-error-initial-targets-node-missing.json | 15 +++++++++----- 7 files changed, 63 insertions(+), 20 deletions(-) create mode 100644 Projects/Superalgos/Schemas/Docs-Concepts/trading-session.json diff --git a/Client/WebServer/css/docs.css b/Client/WebServer/css/docs.css index 7bccbd5b3..7dda8e3f2 100644 --- a/Client/WebServer/css/docs.css +++ b/Client/WebServer/css/docs.css @@ -121,7 +121,7 @@ cursor: pointer; .docs-tooltip { position: relative; display: inline-block; -border-bottom: 1px dashed #0295aa; +border-bottom: 1px dashed #999; cursor: pointer; line-height: inherit; } @@ -564,9 +564,9 @@ margin: 0 0 0 15px; code.docs-code { color: #d9534f; -background-color: rgba(230, 234, 234, 1); +background-color: rgba(230, 234, 234, .5); /* border: 1px solid rgba(205, 212, 213, 0.5); DELETE Candidate*/ -border: 1px solid rgba(54, 85, 88, .3); +border: 1px solid rgba(54, 85, 88, .1); border-radius: 3px; padding: 0 5; } diff --git a/Projects/Superalgos/Schemas/Docs-Concepts/trading-session.json b/Projects/Superalgos/Schemas/Docs-Concepts/trading-session.json new file mode 100644 index 000000000..1dcee80e7 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Concepts/trading-session.json @@ -0,0 +1,14 @@ +{ + "type": "Trading Session", + "definition": { + "text": "Superalgos features four types of trading sessions: Backtesting Session, Paper Trading Session, Forward Testing Session, and Live Trading Session. ", + "updated": 1611937769498 + }, + "paragraphs": [ + { + "style": "Text", + "text": "When the term is used without specifying the type of session, then it refers to the overall concept by which a trading bot instance—based on datasets exposed as products by other bots—applies the trading logic defined on a trading system in any of the aforementioned modes.", + "updated": 1611937772880 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-messages-001-docs-message-saving-done.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-messages-001-docs-message-saving-done.json index 7ffff54fc..6a67c534b 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-messages-001-docs-message-saving-done.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-messages-001-docs-message-saving-done.json @@ -4,7 +4,7 @@ "type": "Docs Message - Saving Done", "definition": { "text": "The docs.save command was successful and all changes were saved at the Superalgos Client.", - "updated": 1610973296568 + "updated": 1611937734586 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-004-ts-lf-trading-bot-error-reference-to-phase-node-missing.json b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-004-ts-lf-trading-bot-error-reference-to-phase-node-missing.json index 260a6b6d0..68945f9d4 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-004-ts-lf-trading-bot-error-reference-to-phase-node-missing.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-004-ts-lf-trading-bot-error-reference-to-phase-node-missing.json @@ -3,8 +3,8 @@ "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 + "text": "The Move To Phase Event node where this error originated is expected to reference a Phase node so that—when all conditions are met—the LF Trading Bot may switch to the referenced Phase.", + "updated": 1611929416928 }, "paragraphs": [ { @@ -14,7 +14,21 @@ }, { "style": "Success", - "text": "To fix this, simply establish a reference from this Node to a Phase node." + "text": "To fix this, establish a reference from the Move To Phase Event node to a Phase node.", + "updated": 1611929817733 + }, + { + "style": "Title", + "text": "Learn More", + "updated": 1611929521725 + }, + { + "style": "List", + "text": "Establish and Remove References" + }, + { + "style": "List", + "text": "Move To Phase Event" } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-005-ts-lf-trading-bot-error-maximum-balance-reached.json b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-005-ts-lf-trading-bot-error-maximum-balance-reached.json index 9078bc0f6..c3b09b902 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-005-ts-lf-trading-bot-error-maximum-balance-reached.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-005-ts-lf-trading-bot-error-maximum-balance-reached.json @@ -3,14 +3,14 @@ "pageNumber": "5", "type": "TS LF Trading Bot Error - Maximum Balance Reached", "definition": { - "text": "The execution of the Trading System was halted because the maximun balance configured was reached. ", - "updated": 1611588526786 + "text": "The Trading Session stopped because the maximum balance configured for the session was reached.", + "updated": 1611937963838 }, "paragraphs": [ { "style": "Text", - "text": "You are allowed to configure at the Session Base Asset and Session Quoted Asset nodes a maximum balance. If you do that -- because it is optional -- the LF Trading Bot will check at every candle during the Trading Simulation that the balance has not reached that maximum. If it does, this error is triggered and the Trading System stops it's execution inmediatelly.", - "updated": 1611588663021 + "text": "The Session Base Asset and Session Quoted Asset Trading Parameters enable the setting of a maximumBalance. The parameter is optional. When you use it, the LF Trading Bot checks—for every candle during the Trading Session—that the balance has not reached the configured maximum. If it does, this error is triggered and the Trading Session stops immediatelly.", + "updated": 1611930588291 }, { "style": "Error", @@ -29,6 +29,16 @@ "style": "Placeholder", "text": "contextInfo", "updated": 1611589783431 + }, + { + "style": "Include", + "text": "Superalgos->Node->Session Base Asset->Configuring", + "updated": 1611930154766 + }, + { + "style": "Include", + "text": "Superalgos->Node->Session Quoted Asset->Configuring", + "updated": 1611930177136 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-006-ts-lf-trading-bot-error-minimum-balance-reached.json b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-006-ts-lf-trading-bot-error-minimum-balance-reached.json index a5679a95a..73a74fa5a 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-006-ts-lf-trading-bot-error-minimum-balance-reached.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-006-ts-lf-trading-bot-error-minimum-balance-reached.json @@ -3,14 +3,14 @@ "pageNumber": "6", "type": "TS LF Trading Bot Error - Minimum Balance Reached", "definition": { - "text": "The execution of the Trading System was halted because the minimun balance configured was reached. ", - "updated": 1611588526786 + "text": "The Trading Session stopped because the minimum balance configured for the session was reached.", + "updated": 1611937955267 }, "paragraphs": [ { "style": "Text", - "text": "You are allowed to configure at the Session Base Asset and Session Quoted Asset nodes a minimum balance. If you do that -- because it is optional -- the LF Trading Bot will check at every candle during the Trading Simulation that the balance has not reached that minimum. If it does, this error is triggered and the Trading System stops it's execution inmediatelly.", - "updated": 1611588663021 + "text": "The Session Base Asset and Session Quoted Asset Trading Parameters enable the setting of a minimumBalance. The parameter is optional. When you use it, the LF Trading Bot checks—for every candle during the Trading Session—that the balance has not reached the configured minimum. If it does, this error is triggered and the Trading Session stops immediatelly.", + "updated": 1611934902255 }, { "style": "Error", diff --git a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-007-ts-lf-trading-bot-error-initial-targets-node-missing.json b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-007-ts-lf-trading-bot-error-initial-targets-node-missing.json index 83d8c27d9..801f5edc4 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-007-ts-lf-trading-bot-error-initial-targets-node-missing.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/ts-lf-trading-bot-errors-007-ts-lf-trading-bot-error-initial-targets-node-missing.json @@ -3,18 +3,23 @@ "pageNumber": "7", "type": "TS LF Trading Bot Error - Initial Targets Node Missing", "definition": { - "text": "A Initial Targets Node was expected but not found at the node where the error poped up.", - "updated": 1611595619753 + "text": "An Initial Targets node was expected but not found at the node where the error originated.", + "updated": 1611938198885 }, "paragraphs": [ + { + "style": "Text", + "text": "The Trading Session may run without the Open Stage, Manage Stage, and Close Stage nodes present. But if a stage exists, then the required nodes within must be properly defined.", + "updated": 1611938347979 + }, { "style": "Error", - "text": "Initial Targets Node Missing", - "updated": 1611597134772 + "text": "Initial Targets Node Missing" }, { "style": "Success", - "text": "Add the missing node and try again." + "text": "Add the missing node and try again. The session will not run free of errors until all required nodes are defined.", + "updated": 1611938473498 } ] } \ No newline at end of file