Update TradingSystem.js
This commit is contained in:
1 parent
6a195a4677
commit
60dec8e082
1 file changed
+1
-2
@@ -18,7 +18,6 @@ exports.newTradingSystem = function newTradingSystem(bot, logger, tradingEngineM
|
||||
}
|
||||
|
||||
let chart
|
||||
|
||||
let tradingSystem
|
||||
let tradingEngine
|
||||
let sessionParameters
|
||||
@@ -54,7 +53,7 @@ exports.newTradingSystem = function newTradingSystem(bot, logger, tradingEngineM
|
||||
snapshotsModule.initialize()
|
||||
tradingExecutionModule.initialize()
|
||||
|
||||
/* Adding Functions used elsewhere to Trading System definition */
|
||||
/* Adding Functions used elsewhere to Trading System Definition */
|
||||
tradingSystem.checkConditions = function (situation, passed) {
|
||||
/* Given a Situation, we check if all children conditions are true or not */
|
||||
for (let m = 0; m < situation.conditions.length; m++) {
|
||||
|
||||
Reference in new issue
Block a user