Merge branch 'develop' of https://github.com/Superalgos/Superalgos into develop

This commit is contained in:
Luis Fernando Molina committed 2021-06-21 13:04:55 +02:00
commit 3aa88f01da
50 files changed
+80558 -27

No files matched your search

+69
View File
@@ -0,0 +1,69 @@
const { execSync } = require("child_process");
const os = require("os");
// Minimum versions required
const npmNeededVersion = '5'
const nodeNeededVersion = '12'
const gitNeededVersion = '2'
function systemCheck () {
try {
// Gather Installed Versions of Node, NPM and Git
const npmVersionRaw = execSync( "npm -v",{ encoding: 'utf8', timeout: 30000 })
const nodeVersionRaw = execSync( "node -v",{ encoding: 'utf8',timeout: 30000 })
const gitVersionRaw = execSync( "git --version",{ encoding: 'utf8',timeout: 30000 })
const npmVersion = npmVersionRaw.trim().split('.')
const nodeVersion = nodeVersionRaw.trim().substring(1).split('.')
const gitVersion = gitVersionRaw.trim().split(' ')[2].split('.')
// Make sure update version of npm is installed
if ( npmVersion[0] < npmNeededVersion ) {
console.log('');
console.log("ERROR: the version of npm you have installed is out of date. Please update your installation of npm and try again.");
console.log('');
process.exit();
}
// Make sure update version of node is installed
if ( nodeVersion[0] < nodeNeededVersion ) {
console.log('');
console.log("ERROR: the version of node you have installed is out of date. Please update your installation of node and try again.");
console.log('');
process.exit();
}
// Make sure updated version of git is installed
if ( gitVersion[0] < gitNeededVersion ) {
console.log('');
console.log("ERROR: the version of git you have installed is out of date. Please update your installation of git and try again.");
console.log('');
process.exit();
}
// Check windows system
if (os.platform() == "win32") {
// Verify C:\Windows\System32 is on the windows PATH
const path = execSync( "echo %PATH%",{ encoding: 'utf8',timeout: 30000 })
let check = path.includes('System32')
if ( check === false ) {
console.log('');
console.log("ERROR: it appears C:\\Windows\\System32 is missing from your PATH. Please add to your path and try again.");
console.log('');
process.exit();
}
}
} catch (error) {
console.log('');
console.log("There was an error with your system: ");
console.log('');
console.log( error );
return;
}
};
module.exports = systemCheck
@@ -3,6 +3,7 @@
"menuItems": [
{
"action": "Play Tutorial Step",
"actionProject": "Foundations",
"label": "Play",
"iconPathOn": "play",
"iconPathOff": "play",
@@ -10,6 +11,7 @@
},
{
"action": "Resume Tutorial Step",
"actionProject": "Foundations",
"label": "Resume",
"iconPathOn": "resume",
"iconPathOff": "resume",
@@ -3,6 +3,7 @@
"menuItems": [
{
"action": "Play Tutorial Topic",
"actionProject": "Foundations",
"label": "Play",
"iconPathOn": "play",
"iconPathOff": "play",
@@ -10,6 +11,7 @@
},
{
"action": "Resume Tutorial Topic",
"actionProject": "Foundations",
"label": "Resume",
"iconPathOn": "resume",
"iconPathOff": "resume",
@@ -0,0 +1,241 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 512.00001 511.99998"
version="1.1"
id="svg36"
sodipodi:docname="okex.svg"
width="512"
height="512"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
inkscape:export-filename="E:\Superalgos\Projects\Foundations\Icons-SVG-Sources\exchanges\okex.png"
inkscape:export-xdpi="100"
inkscape:export-ydpi="100">
<metadata
id="metadata42">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs40" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview38"
showgrid="false"
lock-margins="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.53036163"
inkscape:cx="-196.62891"
inkscape:cy="370.07333"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg36"
inkscape:document-rotation="0" />
<path
d="M 0,512 V 0"
fill="#dbd9d9"
id="path2"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 115.89518,115.88909 0 0 0 55.12976,0 116.08688,116.08077 0 0 1 85.0077,-85.00322 115.89518,115.88909 0 1 0 -225.15793,0 116.04853,116.04243 0 0 1 85.02047,85.00322 z"
fill="#7abdf7"
id="path4"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 115.89518,115.88909 0 0 0 -55.12976,0 116.08688,116.08077 0 0 1 -85.00769,85.00323 115.89518,115.88909 0 1 0 225.15792,0 116.04853,116.04243 0 0 1 -85.02047,-85.00323 z"
fill="#0d74f5"
id="path6"
style="stroke-width:1.2779" />
<path
d="m 396.15732,140.10452 a 115.76739,115.7613 0 0 0 -27.55211,3.32244 116.02298,116.01687 0 0 1 -84.99491,84.99044 115.89518,115.88909 0 0 0 0,55.12686 116.04853,116.04243 0 0 1 84.99491,85.00323 115.89518,115.88909 0 1 0 27.55211,-228.46852 z"
fill="#4494f7"
id="path8"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 115.89518,115.88909 0 0 0 0,-55.12686 116.04853,116.04243 0 0 1 -85.00769,-84.99044 115.89518,115.88909 0 1 0 0,225.14608 116.06132,116.05521 0 0 1 85.00769,-85.02878 z"
fill="#005cf4"
id="path10"
style="stroke-width:1.2779" />
<path
d="m 283.58474,228.44296 a 116.08688,116.08077 0 0 0 85.0077,-85.00322 116.08688,116.08077 0 0 0 -85.0077,85.00322 z"
fill="#186ef9"
id="path12"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 116.04853,116.04243 0 0 0 85.0077,85.00323 116.08688,116.08077 0 0 0 -85.0077,-85.00323 z"
fill="#0246f2"
id="path14"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 116.08688,116.08077 0 0 0 -85.00769,-85.00322 116.08688,116.08077 0 0 0 85.00769,85.00322 z"
fill="#0046f8"
id="path16"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 116.08688,116.08077 0 0 0 -85.00769,85.00323 116.08688,116.08077 0 0 0 85.00769,-85.00323 z"
fill="#0729f1"
id="path18"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 115.89518,115.88909 0 0 0 55.12976,0 116.08688,116.08077 0 0 1 85.0077,-85.00322 115.89518,115.88909 0 1 0 -225.15793,0 116.04853,116.04243 0 0 1 85.02047,85.00322 z"
fill="#7abdf7"
id="path20"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 115.89518,115.88909 0 0 0 -55.12976,0 116.08688,116.08077 0 0 1 -85.00769,85.00323 115.89518,115.88909 0 1 0 225.15792,0 116.04853,116.04243 0 0 1 -85.02047,-85.00323 z"
fill="#0d74f5"
id="path22"
style="stroke-width:1.2779" />
<path
d="m 396.15732,140.10452 a 115.76739,115.7613 0 0 0 -27.55211,3.32244 116.02298,116.01687 0 0 1 -84.99491,84.99044 115.89518,115.88909 0 0 0 0,55.12686 116.04853,116.04243 0 0 1 84.99491,85.00323 115.89518,115.88909 0 1 0 27.55211,-228.46852 z"
fill="#4494f7"
id="path24"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 115.89518,115.88909 0 0 0 0,-55.12686 116.04853,116.04243 0 0 1 -85.00769,-84.99044 115.89518,115.88909 0 1 0 0,225.14608 116.06132,116.05521 0 0 1 85.00769,-85.02878 z"
fill="#005cf4"
id="path26"
style="stroke-width:1.2779" />
<path
d="m 283.58474,228.44296 a 116.08688,116.08077 0 0 0 85.0077,-85.00322 116.08688,116.08077 0 0 0 -85.0077,85.00322 z"
fill="#186ef9"
id="path28"
style="stroke-width:1.2779" />
<path
d="m 283.58474,283.54426 a 116.04853,116.04243 0 0 0 85.0077,85.00323 116.08688,116.08077 0 0 0 -85.0077,-85.00323 z"
fill="#0246f2"
id="path30"
style="stroke-width:1.2779" />
<path
d="m 228.45498,228.44296 a 116.08688,116.08077 0 0 0 -85.00769,-85.00322 116.08688,116.08077 0 0 0 85.00769,85.00322 z"
fill="#0046f8"
id="path32"
style="stroke-width:1.2779" />
<path
d="m 228.45498,283.54426 a 116.08688,116.08077 0 0 0 -85.00769,85.00323 116.08688,116.08077 0 0 0 85.00769,-85.00323 z"
fill="#0729f1"
id="path34"
style="stroke-width:1.2779" />
<rect
x="-600"
y="0"
class="st3"
width="128"
height="128"
id="rect18"
style="fill:#f0353d" />
<rect
x="-472"
y="0"
class="st4"
width="128"
height="128"
id="rect20"
style="fill:#fd6a33" />
<rect
x="-344"
y="0"
class="st5"
width="128"
height="128"
id="rect22"
style="fill:#ff8c29" />
<rect
x="-215.99994"
y="0"
class="st6"
width="128"
height="128"
id="rect24"
style="fill:#ffd1a9" />
<rect
x="-600"
y="128.00002"
class="st1"
width="128"
height="128"
id="rect26"
style="fill:#365558" />
<rect
x="-472"
y="128.00002"
class="st0"
width="128"
height="128"
id="rect28"
style="fill:#0295aa" />
<rect
x="-344"
y="128.00002"
class="st7"
width="128"
height="128"
id="rect30"
style="fill:#4acfd9" />
<rect
x="-600"
y="256"
class="st8"
width="128"
height="128"
id="rect32"
style="fill:#9baaab" />
<rect
x="-472"
y="256"
class="st9"
width="128"
height="128"
id="rect34"
style="fill:#cdd4d5" />
<rect
x="-344"
y="256"
class="st10"
width="128"
height="128"
id="rect36"
style="fill:#e6eaea" />
<rect
x="-215.99994"
y="256"
class="st11"
width="128"
height="128"
id="rect38"
style="fill:#ffffff" />
<rect
x="-600"
y="384"
class="st12"
width="128"
height="128"
id="rect40"
style="fill:#bcd643" />
</svg>

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1 +1 @@
{"type":"Data Mine","name":"Sparta","config":"{\n\"codeName\": \"Sparta\"\n}","project":"Foundations","sensorBots":[],"indicatorBots":[{"type":"Indicator Bot","name":"Simple Moving Average (SMA)","config":"{\n\"codeName\": \"SMA\"\n}","project":"Foundations","processes":[{"type":"Process Definition","name":"Multi-Time-Frame-Market","config":"{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"description\": \"Calculates SMAs for Time Frames of 01-hs and above.\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 0,\n \"retryWaitTime\": 10000,\n \"sleepWaitTime\": 3600000,\n \"comaWaitTime\": 86400000,\n \"framework\": {\n \"name\": \"Multi-Time-Frame-Market\"\n }\n }","project":"Foundations","processOutput":{"type":"Process Output","name":"New Process Output","project":"Foundations","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Popular SMAs","project":"Foundations","id":"5302effb-1f09-4a30-9f71-6956b8b9ca88","savedPayload":{"position":{"x":10609.044651705652,"y":17428.90566641547},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"3b21f9d7-2cbc-4c23-80c8-cc5e5b06a22c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base11 SMAs","project":"Foundations","id":"8221593c-6298-4b4c-bfc2-cffbc9e5cd0f","savedPayload":{"position":{"x":10652.515125452519,"y":17324.96443352291},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"af9b9cef-2a74-486f-b79e-047d68669a1f"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base7 SMAs","project":"Foundations","id":"aabd0857-b4fc-404a-8967-967475ed3993","savedPayload":{"position":{"x":10721.675023375876,"y":17240.07387795538},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"78a6ef37-4df8-4ac8-83a0-c9a732467c59"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base6 SMAs","project":"Foundations","id":"dd00a77a-761e-404b-9e44-627335668112","savedPayload":{"position":{"x":10809.956405495142,"y":17178.031642194932},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"c0862b3d-d35a-4d3e-8d80-258b8a01c37c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base5 SMAs","project":"Foundations","id":"b6426833-d2c7-4300-b610-801e12a7edfd","savedPayload":{"position":{"x":10936.584878620257,"y":17141.406608785455},"targetPosition":{"x":10995.890269605332,"y":17540.32974347027},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"a5d28568-fb58-469a-9820-b9f0e8eab705"}}}],"outputDatasetFolders":[],"id":"85a56739-9351-444b-95e9-a57470dca38a","savedPayload":{"position":{"x":10995.890269605332,"y":17540.32974347027},"targetPosition":{"x":11302.555356491408,"y":17880.959414907546},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Foundations","statusDependencies":[{"type":"Status Dependency","name":"Simple Moving Average (SMA) Multi-Time-Frame-Market","config":"{\"mainUtility\": \"Self Reference\"}","project":"Foundations","id":"d49d1e94-1960-4121-8e40-be8af52947ee","savedPayload":{"position":{"x":11067.618896327327,"y":17267.479023725446},"targetPosition":{"x":11205.707967556615,"y":17422.24521572421},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":2,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"81346f2f-13f2-46f4-85f5-a04b4d80f455"}}},{"type":"Status Dependency","name":"Candles Volumes Multi-Time-Frame-Market","config":"{\"mainUtility\": \"Market Ending Point\"}","project":"Foundations","id":"f7cf0949-06fc-4c98-a399-61fac1671c6e","savedPayload":{"position":{"x":11151.101786685287,"y":17208.702149919078},"targetPosition":{"Line truncated
{"type":"Data Mine","name":"Sparta","config":"{\n\"codeName\": \"Sparta\"\n}","project":"Superalgos","sensorBots":[],"apiDataFetcherBots":[],"indicatorBots":[{"type":"Indicator Bot","name":"Simple Moving Average (SMA)","config":"{\n\"codeName\": \"SMA\"\n}","project":"Superalgos","processes":[{"type":"Process Definition","name":"Multi-Time-Frame-Market","config":"{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"description\": \"Calculates SMAs for Time Frames of 01-hs and above.\",\n \"deadWaitTime\": 0,\n \"normalWaitTime\": 0,\n \"retryWaitTime\": 10000,\n \"sleepWaitTime\": 3600000,\n \"comaWaitTime\": 86400000,\n \"framework\": {\n \"name\": \"Multi-Time-Frame-Market\"\n }\n }","project":"Superalgos","processOutput":{"type":"Process Output","name":"New Process Output","project":"Superalgos","outputDatasets":[{"type":"Output Dataset","name":"Multi-Time-Frame-Market Popular SMAs","project":"Superalgos","id":"6b361e67-c005-4c68-8e60-9561afea7995","savedPayload":{"position":{"x":14543.634455080679,"y":17851.215894240788},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"24e17411-dccd-44b9-864d-ee83550186a8"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base11 SMAs","project":"Superalgos","id":"5d513ab5-6e74-4b56-9ff9-889c8fea55b6","savedPayload":{"position":{"x":14587.104928827546,"y":17747.274661348227},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"b2698fb2-3dee-406f-9bd6-461771adb181"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base7 SMAs","project":"Superalgos","id":"36eca54d-9b12-494b-89d1-63da6b41d84f","savedPayload":{"position":{"x":14656.264826750903,"y":17662.384105780697},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"d435f8db-8340-4e1a-b133-3f0042fc1e07"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base6 SMAs","project":"Superalgos","id":"3cf7431e-358e-4fe7-b3e9-4b0825f8382b","savedPayload":{"position":{"x":14744.54620887017,"y":17600.34187002025},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"59b1356d-d6fa-48c1-8fce-7f401cc9e35c"}}},{"type":"Output Dataset","name":"Multi-Time-Frame-Market Base5 SMAs","project":"Superalgos","id":"09d7bdff-7ce9-44f2-98eb-6e2846be35d8","savedPayload":{"position":{"x":14871.174681995284,"y":17563.716836610773},"targetPosition":{"x":14930.48007298036,"y":17962.639971295586},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Dataset Definition","name":"Multi-Time-Frame-Market","id":"bda8eb74-bd2b-42d8-b008-03caa80d16d6"}}}],"outputDatasetFolders":[],"id":"0102062f-55a7-40b2-bb5a-5fdec10094d3","savedPayload":{"position":{"x":14930.48007298036,"y":17962.639971295586},"targetPosition":{"x":15237.145159866435,"y":18303.269642732863},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"processDependencies":{"type":"Process Dependencies","name":"New Process Dependencies","project":"Superalgos","statusDependencies":[{"type":"Status Dependency","name":"","config":"{\"mainUtility\": \"Self Reference\"}","project":"Superalgos","id":"b10b3a53-b2a3-419d-895a-6970ca5f6d64","savedPayload":{"position":{"x":15002.208699702354,"y":17689.789251550763},"targetPosition":{"x":15140.297770931642,"y":17844.55544354953},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":2,"arrangementStyle":0},"uiObject":{},"referenceParent":{"type":"Status Report","name":"New Status Report","id":"d8c4906e-d779-4637-af38-c3e44751ec62"}}},{"type":"Status Dependency","name":"","config":"{\"mainUtility\": \"Market Ending Point\"}","project":"Superalgos","id":"7a5e25af-1d32-40ee-9d15-904395addd9c","savedPayload":{"position":{"x":15085.691590060314,"y":17631.012377744395},"targetPosition":{"x":15140.297770931642,"y":17844.55544354953},"floatingObject":{"isPinned":falLine truncated
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1 +0,0 @@
{"type":"Workspace","name":"Custom Charts Tutorials","rootNodes":[{"type":"Network","name":"My Network","project":"Foundations","networkNodes":[{"type":"Network Node","name":"My Computer","config":"{ \n\"host\": \"localhost\", \n\"webPort\": \"34248\", \n\"webSocketsPort\": \"18041\"\n}","project":"Foundations","dataTasks":{"type":"Data Tasks","name":"New Data Tasks","project":"Foundations","projectDataTasks":[{"type":"Project Data Tasks","name":"Foundations","project":"Foundations","exchangeDataTasks":[{"type":"Exchange Data Tasks","name":"Binance","project":"Foundations","marketDataTasks":[{"type":"Market Data Tasks","name":"Binance BTC/USDT","project":"Foundations","dataMineTasks":[{"type":"Data Mine Tasks","name":"Sparta","project":"Foundations","taskManagers":[{"type":"Task Manager","name":"Sparta","project":"Foundations","tasks":[{"type":"Task","name":"Simple Moving Average (SMA)","project":"Foundations","bot":{"type":"Indicator Bot Instance","name":"Simple Moving Average (SMA)","config":"{ \n\"parameter1\": \"Value for parameter1 defined at the Product Definition\"\n}","project":"Foundations","processes":[{"type":"Indicator Process Instance","name":"Simple Moving Average (SMA) Multi-Time-Frame-Market","project":"Foundations","id":"07281d67-3aad-46e6-b78d-8b85bf2fdb26","savedPayload":{"position":{"x":25070.356993272086,"y":28790.11115747996},"targetPosition":{"x":25090.356993272086,"y":28756.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Market","id":"456269f6-9849-4d5f-9c8c-7cd7d1eef297"}}},{"type":"Indicator Process Instance","name":"Simple Moving Average (SMA) Multi-Time-Frame-Daily","project":"Foundations","id":"bfc9c489-a981-4800-8f61-092f19ff0e93","savedPayload":{"position":{"x":25172.356993272086,"y":28806.11115747996},"targetPosition":{"x":25090.356993272086,"y":28756.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Daily","id":"333ae5d7-7ec1-4f08-b206-91e3b4f2c99f"}}}],"id":"b1ab4a4a-256f-4cc3-a1df-b921c8fe4605","savedPayload":{"position":{"x":25090.356993272086,"y":28756.11115747996},"targetPosition":{"x":25177.356993272086,"y":28674.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"id":"19a527e8-8570-4766-8190-e2fbc7ece275","savedPayload":{"position":{"x":25177.356993272086,"y":28674.11115747996},"targetPosition":{"x":25124.356993272086,"y":28583.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Task","name":"Exponential Moving Average (EMA)","project":"Foundations","bot":{"type":"Indicator Bot Instance","name":"Exponential Moving Average (EMA)","config":"{ \n\"parameter1\": \"Value for parameter1 defined at the Product Definition\"\n}","project":"Foundations","processes":[{"type":"Indicator Process Instance","name":"Exponential Moving Average (EMA) Multi-Time-Frame-Market","project":"Foundations","id":"098228d9-c139-46bc-8938-46c84811e33d","savedPayload":{"position":{"x":25191.356993272086,"y":28759.11115747996},"targetPosition":{"x":25211.356993272086,"y":28715.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Market","id":"278c34a7-199d-400e-8a06-087149e3d391"}}},{"type":"Indicator Process Instance","name":"Exponential Moving Average (EMA) Multi-Time-Frame-Daily","project":"Foundations","id":"16d1a19b-fd61-4d41-9cad-56cc68774b62","savedPayload":{"position":{"x":25134.356993272086,"y":28660.11115747996},"targetPosition":{"x":25211.356993272086,"y":28715.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":3,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"referenceParent":{"type":"Process Definition","name":"Multi-Time-Frame-Daily","id":"943ea24f-ee24-4eae-9b4b-e8a73122b1c2"}}}],"id":"dab1daf1-4a5d-4abb-b4a6-3ebfe99aa543","savedPayload":{"position":{"x":25211.356993272086,"y":28715.11115747996},"targetPosition":{"x":25176.356993272086,"y":28674.11115747996},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":2,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},"id":"603927bd-8140-45d6-ba57-47b3d7d5a77f","savedPayload":{"position":{"x":25176.356993272086,"y":28674.11115747996},"targetPosition":{"x":25124Line truncated
@@ -119,6 +119,10 @@
{
"codeName": "luno",
"iconName": "luno"
},
{
"codeName": "okex",
"iconName": "okex"
}
]
}
@@ -1,7 +1,7 @@
{
"tutorial": "How to aggregate data from different Exchanges in the same Chart ",
"tutorial": "Aggregate data from different Exchanges in a Chart ",
"pageNumber": "1",
"type": "How to combine Exchanges in a Chart Tutorial",
"type": "Combine Exchanges in a Chart Tutorial",
"definition": {
"text": "This Tutorial covers the process of pulling together the most diverse set of data: data from different exchanges! By the end of this tutorial you will be able to build charts almost impossible to find anywhere else.",
"updated": 1617376996248
@@ -504,6 +504,10 @@
invalidSince = true
return nextValidOHLCVs[0][0]
}
let processingDate = new Date(since)
processingDate = processingDate.getUTCFullYear() + '-' + TS.projects.foundations.utilities.miscellaneousFunctions.pad(processingDate.getUTCMonth() + 1, 2) + '-' + TS.projects.foundations.utilities.miscellaneousFunctions.pad(processingDate.getUTCDate(), 2);
TS.projects.foundations.functionLibraries.processFunctions.processHeartBeat(processIndex, "No Data Found. Fast-Forwarding to Next Data @ " + processingDate, 0)
}
}
@@ -28,9 +28,9 @@ function newUiObject() {
hasError: undefined,
hasWarning: undefined,
hasInfo: undefined,
valueAtAngle: true,
valueAtAngle: false,
valueAngleOffset: 0,
percentageAtAngle: true,
percentageAtAngle: false,
percentageAngleOffset: 0,
statusAtAngle: false,
statusAngleOffset: 0,
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 17 KiB

-17
View File
@@ -1,17 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\Task.js"
}
]
}
+1 -1
View File
@@ -393,7 +393,7 @@ function newCanvas() {
UI.projects.foundations.spaces.chartingSpace.onKeyPressed(event)
/* Shourcuts to Menu Items */
/* Shortcuts to Menu Items */
if ((event.keyCode >= 48 && event.keyCode <= 57)) {
let number = event.key
if (MENU_ITEM_ON_FOCUS !== undefined) {
+3
View File
@@ -0,0 +1,3 @@
{
"lockfileVersion": 1
}
+1 -1
View File
@@ -96,7 +96,7 @@ if ( fs.existsSync(path) ) {
}
} else {
console.log('')
console.log('ERROR: node_modules does not exist. Try running node setup to solve this issue. Then try again.')
console.log('ERROR: node_modules does not exist. Try running node setup to solve this issue. Then try again. You can finded detailed instructions for this in the ReadMe.')
console.log('')
}
+4
View File
@@ -1,6 +1,10 @@
const path = require("path");
const process = require("process");
const { exec } = require("child_process");
const systemCheck = require('./Launch-Scripts/system-check')
// Check system is set up correctly
systemCheck();
// Handle adding shortcuts
if (process.argv.includes("noShortcuts")) {