Attaching processes by subtype implemented
This commit is contained in:
1 parent
255f8c90b0
commit
390fca2c10
1 file changed
+14
-1
@@ -275,7 +275,20 @@ function newStrategyPart () {
|
||||
compatibleSubType = undefined
|
||||
break
|
||||
case 'Process':
|
||||
compatibleType = '->' + 'Sensor' + '->' + 'Indicator' + '->' + 'Trading Engine' + '->'
|
||||
switch (thisObject.payload.node.subType) {
|
||||
case 'Sensor Process': {
|
||||
compatibleType = '->' + 'Sensor' + '->'
|
||||
break
|
||||
}
|
||||
case 'Indicator Process': {
|
||||
compatibleType = '->' + 'Indicator' + '->'
|
||||
break
|
||||
}
|
||||
case 'Trading Engine Process': {
|
||||
compatibleType = '->' + 'Trading Engine' + '->'
|
||||
break
|
||||
}
|
||||
}
|
||||
compatibleSubType = undefined
|
||||
break
|
||||
case 'Strategy':
|
||||
|
||||
Reference in new issue
Block a user