Update TradingRecords.js
This commit is contained in:
1 parent
a3414ccb7d
commit
ab2fc2966c
1 file changed
+5
@@ -90,6 +90,11 @@ exports.newTradingRecords = function newTradingRecords(bot, logger) {
|
||||
let productRootNode = productRoot[index]
|
||||
let record = scanRecordDefinition(product, productRootNode, index)
|
||||
if (record !== undefined) {
|
||||
/*
|
||||
We will add the index value to the record itself, so that the plotter can know to which
|
||||
brach of the trading engine data structure it belongs.
|
||||
*/
|
||||
record.push(index)
|
||||
persistIndividualRecord(record, product, outputDatasetArray)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user