Compare commits

...
Author SHA1 Message Date
Luis Fernando Molina 9c7428ad36 Merge pull request #216 from Superalgos/develop
Beta 4
2020-05-03 15:45:18 +02:00
Luis Fernando Molina e37b09ede6 Version Beta 4 2020-05-03 15:44:32 +02:00
Luis Fernando Molina 1f3f8e0325 Bug fixed 2020-05-02 10:16:21 +02:00
Luis Fernando Molina d5847c1ede Bug fixed 2020-05-01 16:32:39 +02:00
Luis Fernando Molina f9300a2d87 Update CONTRIBUTING.md 2020-05-01 10:06:44 +02:00
Luis Fernando Molina 879aefcfea conditions editor 2020-04-30 18:11:54 +02:00
Luis Fernando Molina ec6e9fc907 Bug fixes that improve resilience when running live 2020-04-27 10:13:52 +02:00
Luis Fernando Molina 9fb3241fe5 Update README.md 2020-04-26 17:16:26 +02:00
Luis Fernando Molina 7cd9727bab Update DataDependencies.js 2020-04-25 11:50:21 +02:00
Luis Fernando Molina 2b3f8a6e5f final bug fixed 2020-04-25 10:39:49 +02:00
Luis Fernando Molina 1decce05cf Final Bug Fixed 2020-04-25 10:13:54 +02:00
Luis Fernando Molina 123ea66eeb Bugs Fixed 2020-04-25 09:08:30 +02:00
Luis Fernando Molina 37dd81a551 Update StatusReport.js 2020-04-24 17:43:46 +02:00
Luis Fernando Molina 948bf6c75e Update StatusReport.js 2020-04-24 17:40:38 +02:00
Luis Fernando Molina d95ce8e48a Update StatusReport.js 2020-04-24 17:34:50 +02:00
Luis Fernando Molina 5aed29bd4c Bugs fixed 2020-04-24 16:31:46 +02:00
Luis Fernando Molina 0791d4e2f0 bug fixed 2020-04-24 15:50:49 +02:00
Luis Fernando Molina 4604a14326 Update ProcessExecutionEvents.js 2020-04-24 15:25:24 +02:00
Luis Fernando Molina 2fa549015b Update AppSchema.json 2020-04-24 15:06:49 +02:00
Luis Fernando Molina a3efd3eaf0 Home Network fully implemented 2020-04-24 13:40:42 +02:00
Luis Fernando Molina 2ed86e0118 Remote Backends 2020-04-22 14:41:23 +02:00
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
689 changed files with 19669 additions and 27935 deletions

No files matched your search

+2 -9
View File
@@ -17,10 +17,10 @@ DATA_MINES_PATH=./Data-Mines
TRADING_SYSTEMS_PATH=./Trading-Systems
SUPER_SCRIPTS_PATH=./Super-Scripts
USE_KEYVAULT=false
WRITE_LOGS_TO_FILES=true
BOTS_PATH=./Legacy-Code
LOG_PATH=./Log-Files
WEB_SERVER_URL=localhost
# WEB SERVER VARIABLES:
@@ -29,16 +29,9 @@ CONSOLE_LOG=false
CONSOLE_ERROR_LOG=true
LOG_FILE_CONTENT=false
# Server commands
REINITIALIZE_COMMAND=sdnacGYGdw756dnxasxbGGGjsdbd5576576gfdsxgvbnFFF
PATH_TO_CANVAS_APP=./CanvasApp
PATH_TO_FILES_COMPONENT=./Files-Component/src
PATH_TO_WEB_SERVER=./WebServer/
PATH_TO_WEB_SERVER=./BackendServers/
APP_SCHEMA_PATH=./
WORKSPACE_PATH=./
GATEWAY_ENDPOINT=https://demo-api-dev.superalgos.org/graphql
+224 -37
View File
@@ -683,6 +683,9 @@
"chainAttachesTo": {
"compatibleTypes": "->Polygon->"
},
"title": [
"Use Reference Parent"
],
"menuItems": [
{
"action": "Delete UI Object",
@@ -785,7 +788,7 @@
"addLeftIcons": true,
"level": 0,
"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",
"properties": [
@@ -807,7 +810,7 @@
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "javascriptCode",
"label": "Add Code",
"relatedUiObject": "Javascript Code",
"relatedUiObject": "Condition",
"actionFunction": "payload.onMenuItemClick"
},
{
@@ -1188,6 +1191,14 @@
"type": "Network Node",
"docURL": "https://docs.superalgos.org/suite-hierarchy-network.html#network-node",
"menuItems": [
{
"action": "Configure Network Node",
"label": "Configure Network Node",
"iconPathOn": "html",
"iconPathOff": "html",
"dontShowAtFullscreen": true,
"actionFunction": "uiObject.configEditor.activate"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
@@ -1230,6 +1241,12 @@
"actionFunction": "payload.onMenuItemClick"
}
],
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"host\": \"localhost\", \n\"webPort\": \"34247\", \n\"webSocketsPort\": \"8080\"\n}"
},
"isTitleAllwaysVisible": true,
"addLeftIcons": true,
"level": 1,
@@ -1305,7 +1322,6 @@
"actionFunction": "payload.onMenuItemClick"
}
],
"isTitleAllwaysVisible": true,
"addLeftIcons": true,
"level": 1,
"chainAttachesTo": {
@@ -1343,6 +1359,16 @@
"iconPathOff": "paper-plane",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Debug Task",
"label": "Debug",
"workingLabel": "Debugging",
"workDoneLabel": "Debug Request Sent",
"workFailedLabel": "Task Cannot be Debugged",
"iconPathOn": "status-dependency",
"iconPathOff": "status-dependency",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
@@ -1477,6 +1503,7 @@
],
"isTitleAllwaysVisible": true,
"title": [
"Use Reference Parent Parent",
"Use Reference Parent"
],
"addLeftIcons": true,
@@ -1522,6 +1549,7 @@
],
"isTitleAllwaysVisible": true,
"title": [
"Use Reference Parent Parent",
"Use Reference Parent"
],
"addLeftIcons": true,
@@ -1599,6 +1627,7 @@
],
"isTitleAllwaysVisible": true,
"title": [
"Use Reference Parent Parent",
"Use Reference Parent"
],
"addLeftIcons": true,
@@ -2188,7 +2217,7 @@
"compatibleTypes": "->Trading System->"
},
"chainAttachesTo": {
"compatibleTypes": "->Process Instance->"
"compatibleTypes": "->Trading Process Instance->"
},
"icon": "session-paper-trading",
"properties": [
@@ -2273,7 +2302,7 @@
"compatibleTypes": "->Trading System->"
},
"chainAttachesTo": {
"compatibleTypes": "->Process Instance->"
"compatibleTypes": "->Trading Process Instance->"
},
"icon": "session-forward-testing",
"properties": [
@@ -2383,7 +2412,7 @@
"compatibleTypes": "->Trading System->"
},
"chainAttachesTo": {
"compatibleTypes": "->Process Instance->"
"compatibleTypes": "->Trading Process Instance->"
},
"icon": "session-live-trading",
"properties": [
@@ -2622,7 +2651,7 @@
"config": true
},
"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,
"chainAttachesTo": {
@@ -2678,6 +2707,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 1,
"chainAttachesTo": {
"compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->"
@@ -2966,6 +2998,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3,
"referenceAttachesTo": {
"compatibleTypes": "->Plotter Module->"
@@ -3027,6 +3062,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 2,
"chainAttachesTo": {
"compatibleTypes": "->Product Definition->"
@@ -3073,6 +3111,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3,
"chainAttachesTo": {
"compatibleTypes": "->Data Mine->"
@@ -3496,6 +3537,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 3,
"chainAttachesTo": {
"compatibleTypes": "->Data Mine->"
@@ -3550,6 +3594,9 @@
"editors": {
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"\"\n}"
},
"level": 2,
"icon": "plotter",
"chainAttachesTo": {
@@ -3973,12 +4020,14 @@
{
"name": "positionSize",
"type": "node",
"childType": "Position Size"
"childType": "Position Size",
"autoAdd": true
},
{
"name": "positionRate",
"type": "node",
"childType": "Position Rate"
"childType": "Position Rate",
"autoAdd": true
}
],
"propertyNameAtParent": "initialDefinition"
@@ -4076,6 +4125,12 @@
"relatedUiObject": "Next Phase Event",
"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",
"label": "Add Announcement",
@@ -4111,6 +4166,11 @@
"type": "node",
"childType": "Next Phase Event"
},
{
"name": "moveToPhaseEvents",
"type": "array",
"childType": "Move to Phase Event"
},
{
"name": "announcements",
"type": "array",
@@ -4166,6 +4226,56 @@
],
"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",
"docURL": "https://docs.superalgos.org/suite-hierarchy-trading-system.html#take-profit",
@@ -4271,7 +4381,8 @@
{
"name": "formula",
"type": "node",
"childType": "Formula"
"childType": "Formula",
"autoAdd": true
}
],
"propertyNameAtParent": "positionSize"
@@ -4308,7 +4419,8 @@
{
"name": "formula",
"type": "node",
"childType": "Formula"
"childType": "Formula",
"autoAdd": true
}
],
"propertyNameAtParent": "positionRate"
@@ -4566,7 +4678,7 @@
"addLeftIcons": true,
"level": 4,
"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": [
{
@@ -4589,6 +4701,12 @@
"relatedUiObject": "Crypto Exchanges",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Add UI Object",
"label": "Add Signals Providers",
"relatedUiObject": "Signals Providers",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
@@ -4608,6 +4726,11 @@
"type": "array",
"childType": "Crypto Exchanges"
},
{
"name": "signalsProviders",
"type": "array",
"childType": "Signals Providers"
},
{
"name": "superActions",
"type": "node",
@@ -4651,6 +4774,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": "Sending 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",
"docURL": "https://docs.superalgos.org/suite-hierarchy-crypto-ecosystem.html#crypto-exchanges",
@@ -5905,7 +6108,7 @@
"compatibleTypes": "->Crypto Exchange->"
},
"chainAttachesTo": {
"compatibleTypes": "->Data Mining->Testing Environmnet->Production Environmnet->Template Structure->"
"compatibleTypes": "->Data Mining->Testing Environment->Production Environment->Template Structure->"
},
"alternativeIcons": "Use Reference Parent",
"title": [
@@ -5974,7 +6177,6 @@
"name": "exchangeTasks",
"type": "array",
"childType": "Exchange Tasks",
"autoAdd": true,
"monitorChildrenRunning": true
}
]
@@ -6027,17 +6229,10 @@
},
"propertyNameAtParent": "testingEnvironment",
"properties": [
{
"name": "taskManagers",
"type": "array",
"childType": "Task Manager",
"autoAdd": true
},
{
"name": "exchangeTasks",
"type": "array",
"childType": "Exchange Tasks",
"autoAdd": true,
"monitorChildrenRunning": true
}
]
@@ -6090,17 +6285,10 @@
},
"propertyNameAtParent": "productionEnvironment",
"properties": [
{
"name": "taskManagers",
"type": "array",
"childType": "Task Manager",
"autoAdd": true
},
{
"name": "exchangeTasks",
"type": "array",
"childType": "Exchange Tasks",
"autoAdd": true,
"monitorChildrenRunning": true
}
]
@@ -6185,6 +6373,12 @@
{
"type": "Exchange Sessions",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Session Reference",
"relatedUiObject": "Session Reference",
"actionFunction": "payload.onMenuItemClick"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
@@ -6207,7 +6401,7 @@
"compatibleTypes": "->Crypto Exchange->"
},
"chainAttachesTo": {
"compatibleTypes": "->Data Storage->"
"compatibleTypes": "->Session Based Data->"
},
"propertyNameAtParent": "exchangeSessions",
"properties": [
@@ -6246,17 +6440,10 @@
},
"propertyNameAtParent": "sessionBasedData",
"properties": [
{
"name": "sessionReferences",
"type": "array",
"childType": "Session Reference",
"autoAdd": true
},
{
"name": "exchangeSessions",
"type": "array",
"childType": "Exchange Sessions",
"autoAdd": true
"childType": "Exchange Sessions"
}
]
},
+2 -1
View File
@@ -9,4 +9,5 @@ BOTS_PATH=../Legacy-Code
LOG_PATH=../Log-Files
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/SuperScripts.js',
'DesignSpace/Workspace/FunctionLibraries/CCXTFunctions.js',
'DesignSpace/Workspace/FunctionLibraries/WebhookFunctions.js',
'DesignSpace/Workspace/FunctionLibraries/DependenciesFilter.js',
'Utilities/RoundedCornersBackground.js',
@@ -92,6 +94,7 @@ function newAppLoader() {
'FloatingSpace/ConfigEditor.js',
'FloatingSpace/ConditionEditor.js',
'FloatingSpace/FormulaEditor.js',
'FloatingSpace/Picker.js',
'Scales/RateScale.js',
'Scales/TimeScale.js',
@@ -176,8 +179,6 @@ function newAppLoader() {
'Plotters/Masters/Plotters-Candles-Volumes/CandlePanel.js',
'Plotters/Masters/Plotters-Candles-Volumes/Volumes.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/BollingerBandsPanel.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."); }
let path = window.canvasApp.urlPrefix + "Scripts/AppLoader.js";
let path = window.canvasApp.urlPrefix + "WebServer/AppLoader.js";
REQUIREJS([path], onRequired);
Loaded 100 of 689 files, more files were not shown because too many files have changed in this diff. Show more