new field
This commit is contained in:
1 parent
397a16ea69
commit
2c72130261
2 files changed
+2
-1
No files matched your search
@@ -72,7 +72,7 @@ function newSessionFunctions () {
|
||||
'Market Order->Limit Order->' +
|
||||
'Serial Number->Identifier->Exchange Id->Begin->End->Rate->Size->Exit Type->Status->Order Name->Algorithm Name->Situation Name->' +
|
||||
'Order Counters->Periods->' +
|
||||
'Order Statistics->Percentage Filled->Actual Rate->Fees Paid->Days->User Defined Statistic->'
|
||||
'Order Statistics->Size Filled->Percentage Filled->Amount Received->Actual Rate->Fees Paid->Days->User Defined Statistic->'
|
||||
|
||||
let tradingEngine = functionLibraryProtocolNode.getProtocolNode(node.tradingEngineReference.payload.referenceParent, false, true, true, false, false, lightingPath)
|
||||
|
||||
|
||||
@@ -305,6 +305,7 @@ function newPlotter () {
|
||||
jsonifiedArray.push(record)
|
||||
previous = record
|
||||
|
||||
if (record.begin === undefined || record.end === undefined) { console.log('Could not find the property begin or end which are needed for the plotter to work.') }
|
||||
if (datetime.valueOf() >= record.begin && datetime.valueOf() <= record.end) {
|
||||
thisObject.currentRecord = record
|
||||
thisObject.container.eventHandler.raiseEvent('Current Record Changed', thisObject.currentRecord)
|
||||
|
||||
Reference in new issue
Block a user