diff --git a/.vs/AAWebPlatform/v15/.suo b/.vs/AAWebPlatform/v15/.suo index e41f3947d..06517f7c1 100644 Binary files a/.vs/AAWebPlatform/v15/.suo and b/.vs/AAWebPlatform/v15/.suo differ diff --git a/CompetitionStorage.js b/CompetitionStorage.js index 73009b838..c62dcd1fa 100644 --- a/CompetitionStorage.js +++ b/CompetitionStorage.js @@ -45,9 +45,9 @@ function newCompetitionStorage(pName) { let bot = ecosystem.getBot(devTeam, pCompetition.participants[i].bot) let product = ecosystem.getProduct(bot, "Trading History"); - for (let i = 0; i < product.sets.length; i++) { + for (let i = 0; i < product.dataSets.length; i++) { - let thisSet = product.sets[i]; + let thisSet = product.dataSets[i]; switch (thisSet.type) { diff --git a/Ecosystem.js b/Ecosystem.js index e9cf5aef1..793dfb2b8 100644 --- a/Ecosystem.js +++ b/Ecosystem.js @@ -8,7 +8,7 @@ function newEcosystem() { getTeams: getTeams, getBot: getBot, getProduct: getProduct, - getSet: getSet, + getDataSet: getDataSet, getExchange: getExchange, initialize: initialize } @@ -84,13 +84,13 @@ function newEcosystem() { } } - function getSet(pProduct, pSetCodeName) { + function getDataSet(pProduct, pSetCodeName) { - for (let i = 0; i < pProduct.sets.length; i++) { + for (let i = 0; i < pProduct.dataSets.length; i++) { - if (pProduct.sets[i].codeName === pSetCodeName) { + if (pProduct.dataSets[i].codeName === pSetCodeName) { - return pProduct.sets[i]; + return pProduct.dataSets[i]; } } } diff --git a/ProductStorage.js b/ProductStorage.js index d5281a674..fccceac74 100644 --- a/ProductStorage.js +++ b/ProductStorage.js @@ -51,9 +51,9 @@ function newProductStorage(pName) { let dataSetsToLoad = 0; let dataSetsLoaded = 0; - for (let i = 0; i < pProduct.sets.length; i++) { + for (let i = 0; i < pProduct.dataSets.length; i++) { - let thisSet = pProduct.sets[i]; + let thisSet = pProduct.dataSets[i]; switch (thisSet.type) { case 'Market Files': { diff --git a/TimelineChart.js b/TimelineChart.js index 20356eb92..544dd2a62 100644 --- a/TimelineChart.js +++ b/TimelineChart.js @@ -174,9 +174,9 @@ function newTimelineChart() { */ - for (let i = 0; i < pProductCard.product.sets.length; i++) { + for (let i = 0; i < pProductCard.product.dataSets.length; i++) { - let thisSet = pProductCard.product.sets[i]; + let thisSet = pProductCard.product.dataSets[i]; switch (thisSet.type) { case 'Market Files': { diff --git a/server.js b/server.js index 1c66dcc86..6fb2d9dee 100644 --- a/server.js +++ b/server.js @@ -6,7 +6,7 @@ if (CONSOLE_LOG === true) { } -const DEBUG_MODE = false; // This forces the server to read Plotters from the local drive. +const DEBUG_MODE = true; // This forces the server to read Plotters from the local drive. if (CONSOLE_LOG === true && DEBUG_MODE === true) {