saving objects

This commit is contained in:
Luis Fernando Molina committed 2020-06-18 15:21:22 +02:00
1 parent b42fcf0038
commit 083788d36c
3 files changed
+58 -30

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ exports.newTradingSimulation = function newTradingSimulation(bot, logger, UTILIT
let heartBeatDate
let previousHeartBeatDate
/* This determines where we are standing */
/* This determines where we are standing */
bot.sessionAndMarketBaseAssetsAreEqual = (sessionParameters.sessionBaseAsset.referenceParent.referenceParent.config.codeName === bot.market.baseAsset)
initializeLoop()
@@ -207,7 +207,7 @@ exports.newTradingSimulation = function newTradingSimulation(bot, logger, UTILIT
}
/* After a position was closed, we need to close the strategy. */
tradingSystem.exitStrategyAfterPosition()
tradingSystemModule.exitStrategyAfterPosition()
snapshotsModule.manageSnapshots()
tradingRecordsModule.appendRecords()