Update TradingSystem.js
This commit is contained in:
1 parent
062ef778e9
commit
006d9c9551
1 file changed
+1
-1
@@ -608,7 +608,7 @@ exports.newTradingSystem = function newTradingSystem(bot, logger, tradingEngineM
|
||||
/* Position size and rate */
|
||||
tradingPositionModule.updateSizeAndRate(getPositionSize(), getPositionRate())
|
||||
|
||||
/* We take what was calculated at the formula of position rate and apply the slippage. */
|
||||
/* We take what was calculated at the formula of position rate and apply the slippage, if needed. */
|
||||
tradingPositionModule.applySlippageToRate()
|
||||
|
||||
function getPositionSize() {
|
||||
|
||||
Reference in new issue
Block a user