From 1cc464196af638eb426621640e821dc6f5ae8c95 Mon Sep 17 00:00:00 2001 From: Julian Molina Date: Wed, 13 Jan 2021 19:38:14 +0100 Subject: [PATCH 1/3] formula fix --- Projects/Superalgos/Schemas/Docs-Nodes/formula.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/Superalgos/Schemas/Docs-Nodes/formula.json b/Projects/Superalgos/Schemas/Docs-Nodes/formula.json index 922dc02cb..8cfb6a0c2 100644 --- a/Projects/Superalgos/Schemas/Docs-Nodes/formula.json +++ b/Projects/Superalgos/Schemas/Docs-Nodes/formula.json @@ -54,8 +54,8 @@ }, { "style": "Text", - "text": "This is—basically—a trailing stop loss 2% below the Bollinger Bands moving average that may go higher if the moving average goes up, but it may never come down—thanks to the use of the IF ELSE clause.", - "updated": 1610561159135 + "text": "This is—basically—a trailing stop loss 2% below the Bollinger Bands moving average that may go higher if the moving average goes up, but it may never come down—thanks to the use of the IF / ELSE clause.", + "updated": 1610563073190 }, { "style": "Javascript", From 5e811722d8af738e7009c5671f63d95d6c64c1eb Mon Sep 17 00:00:00 2001 From: Julian Molina Date: Wed, 13 Jan 2021 21:18:36 +0100 Subject: [PATCH 2/3] README update --- README.md | 18 +++++++++--------- debug.log | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 262db9ac3..9ade75c0b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,9 @@ Node JS is an open-source server environment required to run Superalgos. ## Git -If you don't have it yet, download and install Git. +Download and install Git. + +**Important:** The latest version of Git is required. Git is an open-source distributed version control system required to download and stay up to date with Superalgos. @@ -46,13 +48,11 @@ Before you begin, it is recommended that you set up Chrome as your default brows **1.** If you are not there already, go to [https://github.com/Superalgos/Superalgos](https://github.com/Superalgos/Superalgos) -**2.** Scroll the page all the way to the top. Find and click the **Star** button on the top-right corner of the page to like Superalgos! Thank you! This helps developers find the project, which makes Superalgos better for you through their contributions. This step is in fact, your first contribution. +**2.** Scroll the page all the way to the top. Find and click the **Fork** button to create your fork/copy of this repository. To fork Superalgos you need a GitHub account. If you don't have one, go ahead and create it. A Fork is required for your contributions to the project and to stay up to date with the latest version of the software (more on this later). -**3.** Next to the Star button, find and click the **Fork** button to create your fork/copy of this repository. To fork Superalgos you need a GitHub account. If you don't have one, go ahead and create one. A Fork is required for your contributions to the project and to stay up to date with the latest version of the software (more on this later). +**3.** Once the fork is created, you will land on the page of your fork. Copy the URL from your browser's address bar. -**4.** Once the fork is created, you will land on the page of your fork. Copy the URL from your browser's address bar. - -**5.** In your computer/laptop/server, open a command prompt or terminal as an administrator (to avoid issues with permissions) and type: +**4.** In your computer/laptop/server, open a command prompt or terminal as an administrator (to avoid issues with permissions) and type: ``` git clone @@ -70,7 +70,7 @@ For example, if your Github username is John, the command will look like this: git clone https://github.com/John/Superalgos ``` -**6.** Change to the Superalgos directory/folder and run this commmand to switch to the develop branch. +**5.** Change to the Superalgos directory/folder and run this commmand to switch to the develop branch. ``` git checkout develop @@ -136,7 +136,7 @@ Superalgos is a platform to automate crypto-trading. It is implemented as a Node * In-App Tutorials. * Complete In-App Documentation. -## Superalgos Allows You to... +## Superalgos Allows You To... * Visually design your trading strategies. * Visually debug your trading strategies. @@ -202,7 +202,7 @@ Superalgos is a platform to automate crypto-trading. It is implemented as a Node * Your installations may be used by as many people as required. * You may connect to as many crypto exchanges as you wish. -## Superalgos minimizes your risks +## Superalgos Minimizes Risks * No one can know what strategies you design/run. * No one can front-run you. diff --git a/debug.log b/debug.log index 835d482d5..0321918ce 100644 --- a/debug.log +++ b/debug.log @@ -3,3 +3,4 @@ [0113/171643.763:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3) [0113/181816.824:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3) [0113/184940.841:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3) +[0113/191144.811:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3) From a98cf63ee0dc54935547e41c2c6c0cf4dac15d7b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 14 Jan 2021 10:34:28 +0100 Subject: [PATCH 3/3] Bug Fixed with .... becomming . . . --- Projects/Superalgos/UI/Utilities/Docs.js | 31 +++++++++++++----------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/Projects/Superalgos/UI/Utilities/Docs.js b/Projects/Superalgos/UI/Utilities/Docs.js index eeac1b80b..7d434ded7 100644 --- a/Projects/Superalgos/UI/Utilities/Docs.js +++ b/Projects/Superalgos/UI/Utilities/Docs.js @@ -601,13 +601,18 @@ function newSuperalgosUtilitiesDocs() { const MAX_NUMBER_OF_WORDS = 10 text = text.trim() let cleanText = text.replace(/'/g, ' AMPERSAND ') // scaping ampersands, separating them from other words - .replaceAll('<', ' < ') - .replaceAll('>', ' > ') - .replaceAll(':', ' : ') - .replaceAll(',', ' , ') - .replaceAll('.', ' . ') - .replaceAll('!', ' ! ') - let words = cleanText.split(' ') + .replaceAll(':', ' :') + .replaceAll(',', ' ,') + .replaceAll('.', ' .') + .replaceAll('!', ' !') + let allWords = cleanText.split(' ') + let words = [] + for (let i = 0; i < allWords.length; i++) { + let word = allWords[i] + if (word !== "") { + words.push(word) + } + } let taggedText = '' for (let i = 0; i < words.length; i++) { @@ -617,7 +622,7 @@ function newSuperalgosUtilitiesDocs() { for (let j = 0; j < MAX_NUMBER_OF_WORDS; j++) { let word = words[i + j] - if (word === "" ) { word = " "} + if (word === "") { word = " " } if (word !== undefined) { if (phrase === '') { phrase = word @@ -666,12 +671,10 @@ function newSuperalgosUtilitiesDocs() { } } taggedText = taggedText.replaceAll(' AMPERSAND ', '\'') - .replaceAll(' < ', '<') - .replaceAll(' > ', '>') - .replaceAll(' : ', ':') - .replaceAll(' . ', '.') - .replaceAll(' , ', ',') - .replaceAll(' ! ', '!') + .replaceAll(' :', ':') + .replaceAll(' .', '.') + .replaceAll(' ,', ',') + .replaceAll(' !', '!') .replaceAll(' ', ' ') return taggedText }