Bug Fixes con addition of new elements
This commit is contained in:
1 parent
c57782dcb2
commit
62884a6d4f
3 files changed
+31
-6
No files matched your search
@@ -243,7 +243,7 @@ function newStrategyPartConstructor () {
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: -50
|
||||
angle: -40
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
@@ -256,7 +256,7 @@ function newStrategyPartConstructor () {
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: -25
|
||||
angle: -20
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
@@ -282,7 +282,7 @@ function newStrategyPartConstructor () {
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 25
|
||||
angle: 20
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
@@ -298,7 +298,7 @@ function newStrategyPartConstructor () {
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 50
|
||||
angle: 40
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
@@ -2028,6 +2028,30 @@ function newStrategyPartConstructor () {
|
||||
level_0()
|
||||
break
|
||||
}
|
||||
case 'Backend': {
|
||||
level_1()
|
||||
break
|
||||
}
|
||||
case 'Backend Process': {
|
||||
level_2()
|
||||
break
|
||||
}
|
||||
case 'Sensor': {
|
||||
level_3()
|
||||
break
|
||||
}
|
||||
case 'Indicator': {
|
||||
level_3()
|
||||
break
|
||||
}
|
||||
case 'Trading Engine': {
|
||||
level_3()
|
||||
break
|
||||
}
|
||||
case 'Bot Process': {
|
||||
level_4()
|
||||
break
|
||||
}
|
||||
case 'Exchange Account': {
|
||||
level_1()
|
||||
break
|
||||
|
||||
@@ -160,7 +160,7 @@ function newNodeChildren () {
|
||||
childIndex: undefined
|
||||
}
|
||||
|
||||
for (let i = 0; i < parentNode.exchangeAccounts.length; i++) {
|
||||
for (let i = 0; i < parentNode.backendProcesses.length; i++) {
|
||||
let child = parentNode.backendProcesses[i]
|
||||
response.childrenCount++
|
||||
if (child.id === childNode.id) {
|
||||
|
||||
@@ -430,7 +430,8 @@ function newPartsFromNodes () {
|
||||
|
||||
function addBotProcess (node) {
|
||||
let botProcess = {
|
||||
name: 'New Bot Process'
|
||||
name: 'New Bot Process',
|
||||
code: '// Write the configuration here.'
|
||||
}
|
||||
node.botProcesses.push(botProcess)
|
||||
createPart('Bot Process', botProcess.name, botProcess, node, node, 'Bot Process')
|
||||
|
||||
Reference in new issue
Block a user