Statistics at every candle

This commit is contained in:
Luis Fernando Molina committed 2020-08-17 13:32:52 +02:00
1 parent a88b94066f
commit ded7998d0b
6 files changed
+219 -197

No files matched your search

+3
View File
@@ -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