Multi Exchange, Multi Market adaptations part 1
This commit is contained in:
1 parent
8b878bbb74
commit
b459856f1f
4 files changed
+17
-9
No files matched your search
+2
-2
@@ -78,7 +78,7 @@ function newTimeMachine () {
|
||||
timelineChart.container.frame.position.x = thisObject.container.frame.width / 2 - timelineChart.container.frame.width / 2
|
||||
timelineChart.container.frame.position.y = timelineChart.container.frame.height * 1.5 * iteration
|
||||
|
||||
timelineChart.initialize(productsPanel, onDefaultMarketInitialized)
|
||||
timelineChart.initialize(productsPanel, DEFAULT_EXCHANGE, DEFAULT_MARKET, onDefaultMarketInitialized)
|
||||
|
||||
iteration++
|
||||
|
||||
@@ -110,7 +110,7 @@ function newTimeMachine () {
|
||||
function initializeTimelineChart (item, key, mapObj) {
|
||||
if (INFO_LOG === true) { logger.write('[INFO] initialize -> initializeTheRestOfTheMarkets -> initializeTimelineChart -> Entering function.') }
|
||||
|
||||
if (key === INITIAL_DEFAULT_MARKET) {
|
||||
if (key === DEFAULT_MARKET.assetA + '.' + DEFAULT_MARKET.assetB) {
|
||||
// We skip this market since it has already been initialized.
|
||||
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user