Bug Fixes, related to Limit Orders
This commit is contained in:
1 parent
d4af4a3865
commit
666e37bc6a
24 files changed
+209
-141
No files matched your search
@@ -238,7 +238,7 @@ exports.newTradingPosition = function newTradingPosition(bot, logger, tradingEng
|
||||
|
||||
function resetTradingEngineDataStructure() {
|
||||
if (tradingEngine.current.position.status.value === 'Closed') {
|
||||
tradingEngine.current.position.initialize(tradingEngine.current.position)
|
||||
tradingEngineModule.initializeNode(tradingEngine.current.position)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user