MarketIndex eliminated, order book pannel removed
This commit is contained in:
1 parent
9517ff8ae9
commit
eb3ed29858
9 files changed
+54220
-141
No files matched your search
+2
-16
@@ -23,7 +23,6 @@ function newTimeMachine() {
|
||||
container.frame.containerName = "Time Machine";
|
||||
|
||||
let botsPanel;
|
||||
let orderBookPanel;
|
||||
|
||||
return timeMachine;
|
||||
|
||||
@@ -35,9 +34,6 @@ function newTimeMachine() {
|
||||
controlPanel.initialize();
|
||||
this.controlPanel = controlPanel;
|
||||
|
||||
orderBookPanel = newOrderBookPanel();
|
||||
orderBookPanel.initialize();
|
||||
|
||||
botsPanel = newProductsPanel();
|
||||
botsPanel.initialize();
|
||||
|
||||
@@ -59,7 +55,7 @@ function newTimeMachine() {
|
||||
timelineChart.container.frame.position.x = timeMachine.container.frame.width / 2 - timelineChart.container.frame.width / 2;
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.5 * iteration;
|
||||
|
||||
timelineChart.initialize(1, INITIAL_DEFAULT_MARKET, botsPanel, orderBookPanel, onDefaultMarketInitialized);
|
||||
timelineChart.initialize(1, INITIAL_DEFAULT_MARKET, botsPanel, onDefaultMarketInitialized);
|
||||
|
||||
iteration++;
|
||||
|
||||
@@ -100,7 +96,7 @@ function newTimeMachine() {
|
||||
timelineChart.container.frame.position.x = timeMachine.container.frame.width / 2 - timelineChart.container.frame.width / 2;
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.5 * iteration;
|
||||
|
||||
timelineChart.initialize(1, key, botsPanel, orderBookPanel, finalSteps);
|
||||
timelineChart.initialize(1, key, botsPanel, finalSteps);
|
||||
|
||||
iteration++;
|
||||
|
||||
@@ -246,8 +242,6 @@ function newTimeMachine() {
|
||||
|
||||
botsPanel.draw();
|
||||
|
||||
orderBookPanel.draw();
|
||||
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
@@ -278,14 +272,6 @@ function newTimeMachine() {
|
||||
return container;
|
||||
}
|
||||
|
||||
container = orderBookPanel.getContainer(point);
|
||||
|
||||
if (container !== undefined) {
|
||||
|
||||
/* We found an inner container which has the point. We return it. */
|
||||
|
||||
return container;
|
||||
}
|
||||
|
||||
|
||||
//for (var i = 0; i < this.charts.length; i++) {
|
||||
|
||||
Reference in new issue
Block a user