Ecosystem.json read from the server and injected into Plottters.js and Index.html
This commit is contained in:
1 parent
358cbf3d8a
commit
42869fa650
24 files changed
+1279
-1377
No files matched your search
@@ -43,7 +43,7 @@ function newAccumulatedVolumeChartLayer() {
|
||||
|
||||
return accumulatedVolumeChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -58,8 +58,8 @@ function newAccumulatedVolumeChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.BUY_SELL_BALANCE);
|
||||
parentLayerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.BUY_SELL_BALANCE);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ function newAllTimeChartLayer() {
|
||||
|
||||
return allTimeChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -74,7 +74,7 @@ function newAllTimeChartLayer() {
|
||||
|
||||
}
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.ATH);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.ATH);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ function newCandleStickChartLayer() {
|
||||
|
||||
return candleStickChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -61,7 +61,7 @@ function newCandleStickChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ function newCandleTechnicalAnalisysChartLayer() {
|
||||
|
||||
return candleTechnicalAnalisysChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -51,8 +51,8 @@ function newCandleTechnicalAnalisysChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLE_STAIRS);
|
||||
parentLayerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLE_STAIRS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ function newForecastChartLayer() {
|
||||
|
||||
return forecastChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -54,8 +54,8 @@ function newForecastChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.FORECAST);
|
||||
parentLayerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.FORECAST);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ function newHighLowChartLayer() {
|
||||
|
||||
return highLowChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -51,8 +51,8 @@ function newHighLowChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.HIGH_LOWS);
|
||||
parentLayerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLESTICKS);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.HIGH_LOWS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ function newLinearRegressionCurve() {
|
||||
|
||||
return linearRegressionCurveChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
|
||||
@@ -49,7 +49,7 @@ function newLinearRegressionCurve() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.LINEAR_REGRESION_CURVE);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.LINEAR_REGRESION_CURVE);
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
@@ -53,7 +53,7 @@ function newOrderBooksChartLayer() {
|
||||
return orderBooksChartLayer;
|
||||
|
||||
|
||||
function initialize(exchange, market, index, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -68,7 +68,7 @@ function newOrderBooksChartLayer() {
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
canvas.eventHandler.listenToEvent("Dragging", onDragging);
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.ORDER_BOOKS);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.ORDER_BOOKS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ function newSupportResistanceChartLayer() {
|
||||
|
||||
return supportResistanceChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -47,7 +47,7 @@ function newSupportResistanceChartLayer() {
|
||||
|
||||
recalculateScale();
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.CANDLESTICKS); // TODO : Put the right layer name here when it exists.
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.CANDLESTICKS); // TODO : Put the right layer name here when it exists.
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ function newVolumeChartLayer() {
|
||||
|
||||
return volumeChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -56,7 +56,7 @@ function newVolumeChartLayer() {
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ function newVolumeTechnicalAnalisysChartLayer() {
|
||||
|
||||
return volumeTechnicalAnalisysChartLayer;
|
||||
|
||||
function initialize(exchange, market, index, dailyFiles, chartLayersPanel) {
|
||||
function initialize(exchange, market, index, dailyFiles, botsPanel) {
|
||||
|
||||
marketId = market;
|
||||
exchangeId = exchange;
|
||||
@@ -50,8 +50,8 @@ function newVolumeTechnicalAnalisysChartLayer() {
|
||||
marketIndex = index;
|
||||
dailyFilesCursor = dailyFiles;
|
||||
|
||||
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.VOLUME_STAIRS);
|
||||
parentLayerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.VOLUME);
|
||||
layerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME_STAIRS);
|
||||
parentLayerStatus = botsPanel.getLayerStatus(botsPanel.layerNames.VOLUME);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user