diff --git a/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js b/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js index 5de3ca996..e552a7c53 100644 --- a/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js +++ b/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js @@ -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) diff --git a/Plotting/Plotter.js b/Plotting/Plotter.js index bb0aaf7ee..844ace277 100644 --- a/Plotting/Plotter.js +++ b/Plotting/Plotter.js @@ -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)