Nicola Changes Merged
This commit is contained in:
1 parent
5db3af47ee
commit
830e9dbb4b
16 files changed
+435
-149
No files matched your search
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
function newCompetitionStorage (pName) {
|
||||
const MODULE_NAME = 'Competition Storage'
|
||||
const INFO_LOG = false
|
||||
@@ -37,6 +37,7 @@ function newCompetitionStorage (pName) {
|
||||
for (let j = 0; j < pCompetition.participants.length; j++) {
|
||||
let devTeam = ecosystem.getTeam(pCompetition.participants[j].devTeam)
|
||||
let bot = ecosystem.getBot(devTeam, pCompetition.participants[j].bot)
|
||||
let pOperationsId = pCompetition.participants[j].pOperationsId
|
||||
let product = ecosystem.getProduct(bot, 'Competition Trading History')
|
||||
|
||||
if (INFO_LOG === true) { logger.write('[INFO] initialize -> key = ' + devTeam.codeName + '-' + bot.codeName + '-' + product.codeName) }
|
||||
@@ -49,7 +50,7 @@ function newCompetitionStorage (pName) {
|
||||
if (INFO_LOG === true) { logger.write('[INFO] initialize -> File Sequence -> key = ' + pHost.codeName + '-' + pCompetition.codeName + '-' + devTeam.codeName + '-' + bot.codeName + '-' + product.codeName) }
|
||||
|
||||
let fileSequence = newFileSequence()
|
||||
fileSequence.initialize(devTeam, bot, product, thisSet, pExchange, pMarket, onFileSequenceReady)
|
||||
fileSequence.initialize(devTeam, bot, product, thisSet, pExchange, pMarket, onFileSequenceReady, pOperationsId)
|
||||
fileSequences.push(fileSequence)
|
||||
dataSetsToLoad++
|
||||
}
|
||||
@@ -133,4 +134,3 @@ function newCompetitionStorage (pName) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user