Bug Fix
This commit is contained in:
1 parent
0d776fe75a
commit
6cb83b664f
1 file changed
+1
-1
+1
-1
@@ -172,7 +172,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) {
|
||||
if (definition.tradingSystem.parameters.baseAsset.formula !== undefined) {
|
||||
if (definition.tradingSystem.parameters.baseAsset.formula.code !== undefined) {
|
||||
let code = JSON.parse(definition.tradingSystem.parameters.baseAsset.formula.code)
|
||||
if (code.initialDatetime !== undefined) {
|
||||
if (code.slippage !== undefined) {
|
||||
slippage = code.slippage
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user