Open y Close Execution Errors
This commit is contained in:
1 parent
6388705262
commit
54f9c8d647
1 file changed
+19
@@ -696,6 +696,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let openExecution = openStage.openExecution
|
||||
|
||||
if (openExecution !== undefined) {
|
||||
canvas.strategySpace.workspace.tradingSystem.strategies[j].openStage.openExecution.payload.uiObject.setErrorMessage(openStage.openExecution.error)
|
||||
}
|
||||
}
|
||||
|
||||
let manageStage = strategy.manageStage
|
||||
@@ -790,6 +796,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let closeStage = strategy.closeStage
|
||||
|
||||
if (closeStage !== undefined) {
|
||||
canvas.strategySpace.workspace.tradingSystem.strategies[j].closeStage.payload.uiObject.setErrorMessage(closeStage.error)
|
||||
|
||||
let closeExecution = closeStage.closeExecution
|
||||
|
||||
if (closeExecution !== undefined) {
|
||||
canvas.strategySpace.workspace.tradingSystem.strategies[j].closeStage.closeExecution.payload.uiObject.setErrorMessage(closeStage.closeExecution.error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function processSituation(situation, node) {
|
||||
|
||||
Reference in new issue
Block a user