Compare commits

..
Author SHA1 Message Date
Luis Fernando Molina 4255c97998 Merge pull request #208 from Superalgos/develop
Beta SP2
2020-04-21 11:21:12 +02:00
Luis Fernando Molina 97247e3e29 Beta SP2 Closure 2020-04-21 11:20:21 +02:00
Luis Fernando Molina dc9285d6a8 Move to Phase Event Implementation 2020-04-20 16:59:10 +02:00
Luis Fernando Molina 387ab828ad Update Layer.js 2020-04-20 09:42:37 +02:00
Luis Fernando Molina a96ef676d7 Update Layer.js 2020-04-20 09:11:06 +02:00
Luis Fernando Molina 3c6221389e Update TradingBotProcessMainLoop.js 2020-04-19 22:08:39 +02:00
Luis Fernando Molina 7df55b86bf Renaming Trading Systems 2020-04-19 21:34:47 +02:00
Luis Fernando Molina 75b79af309 WHB Version 2 2020-04-19 21:02:24 +02:00
Luis Fernando Molina b72d6d5bd1 Bug fixed: downloading data from exchange 2020-04-19 20:31:54 +02:00
Luis Fernando Molina 6ed401c50f Dependencies Filters Implemented 2020-04-18 16:22:14 +02:00
Luis Fernando Molina 986f1cc7a1 webhooks without plotters working 2020-04-18 08:04:20 +02:00
Luis Fernando Molina baa1a2cfb1 Update UiObject.js 2020-04-17 10:49:31 +02:00
Luis Fernando Molina 59d8634c30 Webhooks Improved 2020-04-17 09:33:44 +02:00
Luis Fernando Molina 61810c939b WebHooks saving the Signals file 2020-04-16 22:06:15 +02:00
Luis Fernando Molina 80a209d447 Reset 2020-04-16 18:24:11 +02:00
Luis Fernando Molina bd80848dc3 Web Server Integrated to Backend Servers 2020-04-16 11:06:24 +02:00
Luis Fernando Molina 990d310a76 Update TradingBotProcessMainLoop.js 2020-04-15 15:41:01 +02:00
Luis Fernando Molina 4c5b2e02d5 bug fixes 2020-04-15 12:50:33 +02:00
Luis Fernando Molina 50ae194a2c Update TradingEngines.json 2020-04-15 10:41:59 +02:00
Luis Fernando Molina 2f1c9e8628 Sparta, Candle Channels, Bug Fixes 2020-04-15 09:23:03 +02:00
Luis Fernando Molina 3c54cef4c8 upper case 2020-04-13 18:04:23 +02:00
Luis Fernando Molina 54d6a29ec0 lowerecase test 2020-04-13 18:03:42 +02:00
651 changed files with 17660 additions and 27497 deletions

No files matched your search

+2 -9
View File
@@ -17,10 +17,10 @@ DATA_MINES_PATH=./Data-Mines
TRADING_SYSTEMS_PATH=./Trading-Systems TRADING_SYSTEMS_PATH=./Trading-Systems
SUPER_SCRIPTS_PATH=./Super-Scripts SUPER_SCRIPTS_PATH=./Super-Scripts
USE_KEYVAULT=false
WRITE_LOGS_TO_FILES=true WRITE_LOGS_TO_FILES=true
BOTS_PATH=./Legacy-Code BOTS_PATH=./Legacy-Code
LOG_PATH=./Log-Files LOG_PATH=./Log-Files
WEB_SERVER_URL=localhost
# WEB SERVER VARIABLES: # WEB SERVER VARIABLES:
@@ -29,16 +29,9 @@ CONSOLE_LOG=false
CONSOLE_ERROR_LOG=true CONSOLE_ERROR_LOG=true
LOG_FILE_CONTENT=false LOG_FILE_CONTENT=false
# Server commands
REINITIALIZE_COMMAND=sdnacGYGdw756dnxasxbGGGjsdbd5576576gfdsxgvbnFFF
PATH_TO_CANVAS_APP=./CanvasApp PATH_TO_CANVAS_APP=./CanvasApp
PATH_TO_FILES_COMPONENT=./Files-Component/src PATH_TO_FILES_COMPONENT=./Files-Component/src
PATH_TO_WEB_SERVER=./WebServer/ PATH_TO_WEB_SERVER=./BackendServers/
APP_SCHEMA_PATH=./ APP_SCHEMA_PATH=./
WORKSPACE_PATH=./ WORKSPACE_PATH=./
GATEWAY_ENDPOINT=https://demo-api-dev.superalgos.org/graphql
+200 -4
View File
@@ -683,6 +683,9 @@
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Polygon->" "compatibleTypes": "->Polygon->"
}, },
"title": [
"Use Reference Parent"
],
"menuItems": [ "menuItems": [
{ {
"action": "Delete UI Object", "action": "Delete UI Object",
@@ -785,7 +788,7 @@
"addLeftIcons": true, "addLeftIcons": true,
"level": 0, "level": 0,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Take Position Event->Trigger On Event->Trigger Off Event->Next Phase Event->" "compatibleTypes": "->Take Position Event->Trigger On Event->Trigger Off Event->Next Phase Event->Move to Phase Event->"
}, },
"icon": "pyramid", "icon": "pyramid",
"properties": [ "properties": [
@@ -1188,6 +1191,14 @@
"type": "Network Node", "type": "Network Node",
"docURL": "https://docs.superalgos.org/suite-hierarchy-network.html#network-node", "docURL": "https://docs.superalgos.org/suite-hierarchy-network.html#network-node",
"menuItems": [ "menuItems": [
{
"action": "Configure Network Node",
"label": "Configure Network Node",
"iconPathOn": "html",
"iconPathOff": "html",
"dontShowAtFullscreen": true,
"actionFunction": "uiObject.configEditor.activate"
},
{ {
"action": "Add UI Object", "action": "Add UI Object",
"disableIfPropertyIsDefined": true, "disableIfPropertyIsDefined": true,
@@ -1230,6 +1241,12 @@
"actionFunction": "payload.onMenuItemClick" "actionFunction": "payload.onMenuItemClick"
} }
], ],
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"ipAddress\": \"\", \n\"webPort\": \"\", \n\"webSocketsPort\": \"\"\n}"
},
"isTitleAllwaysVisible": true, "isTitleAllwaysVisible": true,
"addLeftIcons": true, "addLeftIcons": true,
"level": 1, "level": 1,
@@ -1477,6 +1494,7 @@
], ],
"isTitleAllwaysVisible": true, "isTitleAllwaysVisible": true,
"title": [ "title": [
"Use Reference Parent Parent",
"Use Reference Parent" "Use Reference Parent"
], ],
"addLeftIcons": true, "addLeftIcons": true,
@@ -1522,6 +1540,7 @@
], ],
"isTitleAllwaysVisible": true, "isTitleAllwaysVisible": true,
"title": [ "title": [
"Use Reference Parent Parent",
"Use Reference Parent" "Use Reference Parent"
], ],
"addLeftIcons": true, "addLeftIcons": true,
@@ -1599,6 +1618,7 @@
], ],
"isTitleAllwaysVisible": true, "isTitleAllwaysVisible": true,
"title": [ "title": [
"Use Reference Parent Parent",
"Use Reference Parent" "Use Reference Parent"
], ],
"addLeftIcons": true, "addLeftIcons": true,
@@ -2622,7 +2642,7 @@
"config": true "config": true
}, },
"initialValues": { "initialValues": {
"code": "{ \n\"repo\": \"If this is a legacy bot, write here the repository name in order to locate its code.\"\n}" "code": "{ \n\"codeName\": \"\"\n}"
}, },
"level": 0, "level": 0,
"chainAttachesTo": { "chainAttachesTo": {
@@ -2678,6 +2698,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 1, "level": 1,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->" "compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->"
@@ -2966,6 +2989,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3, "level": 3,
"referenceAttachesTo": { "referenceAttachesTo": {
"compatibleTypes": "->Plotter Module->" "compatibleTypes": "->Plotter Module->"
@@ -3027,6 +3053,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 2, "level": 2,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Product Definition->" "compatibleTypes": "->Product Definition->"
@@ -3073,6 +3102,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3, "level": 3,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Data Mine->" "compatibleTypes": "->Data Mine->"
@@ -3496,6 +3528,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3, "level": 3,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Data Mine->" "compatibleTypes": "->Data Mine->"
@@ -3550,6 +3585,9 @@
"editors": { "editors": {
"config": true "config": true
}, },
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 2, "level": 2,
"icon": "plotter", "icon": "plotter",
"chainAttachesTo": { "chainAttachesTo": {
@@ -4076,6 +4114,12 @@
"relatedUiObject": "Next Phase Event", "relatedUiObject": "Next Phase Event",
"actionFunction": "payload.onMenuItemClick" "actionFunction": "payload.onMenuItemClick"
}, },
{
"action": "Add UI Object",
"label": "Add Move to Phase Event",
"relatedUiObject": "Move to Phase Event",
"actionFunction": "payload.onMenuItemClick"
},
{ {
"action": "Add UI Object", "action": "Add UI Object",
"label": "Add Announcement", "label": "Add Announcement",
@@ -4111,6 +4155,11 @@
"type": "node", "type": "node",
"childType": "Next Phase Event" "childType": "Next Phase Event"
}, },
{
"name": "moveToPhaseEvents",
"type": "array",
"childType": "Move to Phase Event"
},
{ {
"name": "announcements", "name": "announcements",
"type": "array", "type": "array",
@@ -4166,6 +4215,56 @@
], ],
"propertyNameAtParent": "nextPhaseEvent" "propertyNameAtParent": "nextPhaseEvent"
}, },
{
"type": "Move to Phase Event",
"docURL": "",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Situation",
"relatedUiObject": "Situation",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Add UI Object",
"label": "Add Announcement",
"relatedUiObject": "Announcement",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete This Event",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.onMenuItemClick"
}
],
"addLeftIcons": true,
"level": 3,
"chainAttachesTo": {
"compatibleTypes": "->Phase->"
},
"referenceAttachesTo": {
"compatibleTypes": "->Phase->"
},
"icon": "move-to-phase-event",
"properties": [
{
"name": "situations",
"type": "array",
"childType": "Situation",
"autoAdd": true
},
{
"name": "announcements",
"type": "array",
"childType": "Announcement"
}
],
"propertyNameAtParent": "moveToPhaseEvents"
},
{ {
"type": "Take Profit", "type": "Take Profit",
"docURL": "https://docs.superalgos.org/suite-hierarchy-trading-system.html#take-profit", "docURL": "https://docs.superalgos.org/suite-hierarchy-trading-system.html#take-profit",
@@ -4566,7 +4665,7 @@
"addLeftIcons": true, "addLeftIcons": true,
"level": 4, "level": 4,
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Trigger On Event->Trigger Off Event->Take Position Event->Next Phase Event->Phase->Trigger Stage->Open Stage->Manage Stage->Close Stage->" "compatibleTypes": "->Trigger On Event->Trigger Off Event->Take Position Event->Next Phase Event->Move to Phase Event->Phase->Trigger Stage->Open Stage->Manage Stage->Close Stage->"
}, },
"properties": [ "properties": [
{ {
@@ -4589,6 +4688,12 @@
"relatedUiObject": "Crypto Exchanges", "relatedUiObject": "Crypto Exchanges",
"actionFunction": "payload.onMenuItemClick" "actionFunction": "payload.onMenuItemClick"
}, },
{
"action": "Add UI Object",
"label": "Add Signals Providers",
"relatedUiObject": "Signals Providers",
"actionFunction": "payload.onMenuItemClick"
},
{ {
"action": "Add UI Object", "action": "Add UI Object",
"disableIfPropertyIsDefined": true, "disableIfPropertyIsDefined": true,
@@ -4608,6 +4713,11 @@
"type": "array", "type": "array",
"childType": "Crypto Exchanges" "childType": "Crypto Exchanges"
}, },
{
"name": "signalsProviders",
"type": "array",
"childType": "Signals Providers"
},
{ {
"name": "superActions", "name": "superActions",
"type": "node", "type": "node",
@@ -4651,6 +4761,86 @@
} }
] ]
}, },
{
"type": "Signals Providers",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Signals Provider",
"relatedUiObject": "Signals Provider",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete Signals Providers",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.onMenuItemClick"
}
],
"addLeftIcons": true,
"level": 1,
"icon": "targeting",
"chainAttachesTo": {
"compatibleTypes": "->Crypto Ecosystem->"
},
"propertyNameAtParent": "signalsProviders",
"properties": [
{
"name": "signalsProviders",
"type": "array",
"childType": "Signals Provider",
"autoAdd": true
}
]
},
{
"type": "Signals Provider",
"menuItems": [
{
"action": "Config Signals Provider",
"actionFunction": "uiObject.configEditor.activate",
"label": "Config Signals Provider",
"iconPathOn": "html",
"iconPathOff": "html"
},
{
"action": "Send Webhook Test Message",
"label": "Send Test Message",
"workingLabel": "Seinding Message",
"workDoneLabel": "Message Sent",
"workFailedLabel": "Message not Delived",
"iconPathOn": "paper-plane",
"iconPathOff": "paper-plane",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete Signals Provider",
"iconPathOn": "delete",
"iconPathOff": "delete",
"actionFunction": "payload.onMenuItemClick"
}
],
"addLeftIcons": true,
"level": 2,
"icon": "template-target",
"chainAttachesTo": {
"compatibleTypes": "->Signals Providers->"
},
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"webhookURL\": \"Webhook/New-Message/Trading-View/Binance/BTC-USDT\",\n\"testMessage\": \"\" \n}"
},
"propertyNameAtParent": "signalsProviders",
"properties": []
},
{ {
"type": "Crypto Exchanges", "type": "Crypto Exchanges",
"docURL": "https://docs.superalgos.org/suite-hierarchy-crypto-ecosystem.html#crypto-exchanges", "docURL": "https://docs.superalgos.org/suite-hierarchy-crypto-ecosystem.html#crypto-exchanges",
@@ -5905,7 +6095,7 @@
"compatibleTypes": "->Crypto Exchange->" "compatibleTypes": "->Crypto Exchange->"
}, },
"chainAttachesTo": { "chainAttachesTo": {
"compatibleTypes": "->Data Mining->Testing Environmnet->Production Environmnet->Template Structure->" "compatibleTypes": "->Data Mining->Testing Environmnet->Production Environment->Template Structure->"
}, },
"alternativeIcons": "Use Reference Parent", "alternativeIcons": "Use Reference Parent",
"title": [ "title": [
@@ -6185,6 +6375,12 @@
{ {
"type": "Exchange Sessions", "type": "Exchange Sessions",
"menuItems": [ "menuItems": [
{
"action": "Add UI Object",
"label": "Add Session Reference",
"relatedUiObject": "Session Reference",
"actionFunction": "payload.onMenuItemClick"
},
{ {
"action": "Delete UI Object", "action": "Delete UI Object",
"askConfirmation": true, "askConfirmation": true,
+2 -1
View File
@@ -9,4 +9,5 @@ BOTS_PATH=../Legacy-Code
LOG_PATH=../Log-Files LOG_PATH=../Log-Files
WEB_SOCKETS_SERVER_PORT=8080 WEB_SOCKETS_SERVER_PORT=8080
WEB_SERVER_PORT=34247
WEB_SERVER_URL=localhost
@@ -51,6 +51,8 @@ function newAppLoader() {
'DesignSpace/Workspace/FunctionLibraries/OnFocus.js', 'DesignSpace/Workspace/FunctionLibraries/OnFocus.js',
'DesignSpace/Workspace/FunctionLibraries/SuperScripts.js', 'DesignSpace/Workspace/FunctionLibraries/SuperScripts.js',
'DesignSpace/Workspace/FunctionLibraries/CCXTFunctions.js', 'DesignSpace/Workspace/FunctionLibraries/CCXTFunctions.js',
'DesignSpace/Workspace/FunctionLibraries/WebhookFunctions.js',
'DesignSpace/Workspace/FunctionLibraries/DependenciesFilter.js',
'Utilities/RoundedCornersBackground.js', 'Utilities/RoundedCornersBackground.js',
@@ -176,8 +178,6 @@ function newAppLoader() {
'Plotters/Masters/Plotters-Candles-Volumes/CandlePanel.js', 'Plotters/Masters/Plotters-Candles-Volumes/CandlePanel.js',
'Plotters/Masters/Plotters-Candles-Volumes/Volumes.js', 'Plotters/Masters/Plotters-Candles-Volumes/Volumes.js',
'Plotters/Masters/Plotters-Candles-Volumes/VolumePanel.js', 'Plotters/Masters/Plotters-Candles-Volumes/VolumePanel.js',
'Plotters/Masters/Plotters-Stairs-Patterns/CandleStairs.js',
'Plotters/Masters/Plotters-Stairs-Patterns/VolumeStairs.js',
'Plotters/Masters/Plotters-Bollinger-Bands/BollingerBands.js', 'Plotters/Masters/Plotters-Bollinger-Bands/BollingerBands.js',
'Plotters/Masters/Plotters-Bollinger-Bands/BollingerBandsPanel.js', 'Plotters/Masters/Plotters-Bollinger-Bands/BollingerBandsPanel.js',
'Plotters/Masters/Plotters-Bollinger-Bands/PercentageBandwidth.js', 'Plotters/Masters/Plotters-Bollinger-Bands/PercentageBandwidth.js',
@@ -127,7 +127,7 @@ function loadSuperalgos() {
if (INFO_LOG === true) { console.log(spacePad(MODULE_NAME, 50) + " : " + "[INFO] loadModules -> Entering function."); } if (INFO_LOG === true) { console.log(spacePad(MODULE_NAME, 50) + " : " + "[INFO] loadModules -> Entering function."); }
let path = window.canvasApp.urlPrefix + "Scripts/AppLoader.js"; let path = window.canvasApp.urlPrefix + "WebServer/AppLoader.js";
REQUIREJS([path], onRequired); REQUIREJS([path], onRequired);
Loaded 100 of 651 files, more files were not shown because too many files have changed in this diff. Show more