Bug fixed from refactoring

This commit is contained in:
Luis Fernando Molina committed 2020-01-21 14:44:15 +01:00
1 parent 1b53c950f2
commit e55e075b34
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ function newAAMastersPlottersTradingSimulationSimulationExecutionSimulationExecu
let thisObject = {
fitFunction: undefined,
container: undefined,
onEventRaised: onEventRaised,
onRecordChange: onRecordChange,
draw: draw,
getContainer: getContainer,
initialize: initialize
@@ -60,7 +60,7 @@ function newAAMastersPlottersTradingSimulationSimulationExecutionSimulationExecu
}
function onEventRaised(lastCurrentCandle) {
function onRecordChange(lastCurrentCandle) {
currentRecord = lastCurrentCandle;