Async Await implementation at Trading Process

This commit is contained in:
Luis Fernando Molina committed 2020-08-18 14:31:52 +02:00
1 parent ea047363af
commit fdbffef52e
17 files changed
+902 -905

No files matched your search

@@ -131,6 +131,9 @@ exports.newTradingSystem = function newTradingSystem(bot, logger, tradingEngineM
/* Run the Close Stage */
await tradingStagesModule.runCloseStage()
tradingStagesModule.calculateStatistics()
} catch (err) {
/*
If an error ocurred during execution, it was alreeady logged and