BUG FIXED: tradingSystem

This commit is contained in:
Luis Fernando Molina committed 2019-07-02 23:19:00 +02:00
1 parent 63817983db
commit 1a90b98768
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ function newStrategizerGateway () {
/* See if we need to update or create a new record at the strategizer */
let tradingSystem = canvas.strategySpace.workspace.getProtocolTradingSystem()
if (tradingSystem === undefined || idAtStrategizer === null) {
if (tradingSystem === undefined || tradingSystem === null) {
logger.write('[ERROR] saveToStrategyzer -> Can not save when tradingSystem is null or undefined.')
return
}