Signals Nodes Arriving at the TS
This commit is contained in:
1 parent
ce8f209917
commit
4e9af8fb7b
9 files changed
+38
-34
No files matched your search
@@ -105,6 +105,9 @@ function newAlgorithmicTradingFunctionLibraryTradingSessionFunctions() {
|
||||
'Managed Stop Loss->Managed Take Profit->' +
|
||||
'Phase->Formula->Next Phase Event->Move To Phase Event->Phase->' +
|
||||
'Situation->Condition->Javascript Code->' +
|
||||
'Outgoing Signals->Incoming Signals->Signal Reference->' +
|
||||
'Trigger On Signal->Trigger Off Signal->Take Position Signal->' +
|
||||
'Create Order Signal->Cancel Order Signal->' +
|
||||
'Close Stage->' +
|
||||
'Initial Targets->Target Size In Base Asset->Target Size In Quoted Asset->Target Rate->Formula->' +
|
||||
'Open Execution->Close Execution->' +
|
||||
|
||||
@@ -21,20 +21,20 @@
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "sendSignals",
|
||||
"propertyToCheckFor": "outgoingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Send Signals",
|
||||
"relatedUiObject": "Send Signals",
|
||||
"label": "Add Outgoing Signals",
|
||||
"relatedUiObject": "Outgoing Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "receiveSignals",
|
||||
"propertyToCheckFor": "incomingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Receive Signals",
|
||||
"relatedUiObject": "Receive Signals",
|
||||
"label": "Add Incoming Signals",
|
||||
"relatedUiObject": "Incoming Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
@@ -67,15 +67,15 @@
|
||||
"project": "Social-Bots"
|
||||
},
|
||||
{
|
||||
"name": "sendSignals",
|
||||
"name": "outgoingSignals",
|
||||
"type": "node",
|
||||
"childType": "Send Signals",
|
||||
"childType": "Outgoing Signals",
|
||||
"project": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"name": "receiveSignals",
|
||||
"name": "incomingSignals",
|
||||
"type": "node",
|
||||
"childType": "Receive Signals",
|
||||
"childType": "Incoming Signals",
|
||||
"project": "Trading-Signals"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -21,20 +21,20 @@
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "sendSignals",
|
||||
"propertyToCheckFor": "outgoingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Send Signals",
|
||||
"relatedUiObject": "Send Signals",
|
||||
"label": "Add Outgoing Signals",
|
||||
"relatedUiObject": "Outgoing Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "receiveSignals",
|
||||
"propertyToCheckFor": "incomingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Receive Signals",
|
||||
"relatedUiObject": "Receive Signals",
|
||||
"label": "Add Incoming Signals",
|
||||
"relatedUiObject": "Incoming Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
@@ -67,15 +67,15 @@
|
||||
"project": "Social-Bots"
|
||||
},
|
||||
{
|
||||
"name": "sendSignals",
|
||||
"name": "outgoingSignals",
|
||||
"type": "node",
|
||||
"childType": "Send Signals",
|
||||
"childType": "Outgoing Signals",
|
||||
"project": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"name": "receiveSignals",
|
||||
"name": "incomingSignals",
|
||||
"type": "node",
|
||||
"childType": "Receive Signals",
|
||||
"childType": "Incoming Signals",
|
||||
"project": "Trading-Signals"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -21,20 +21,20 @@
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "sendSignals",
|
||||
"propertyToCheckFor": "outgoingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Send Signals",
|
||||
"relatedUiObject": "Send Signals",
|
||||
"label": "Add Outgoing Signals",
|
||||
"relatedUiObject": "Outgoing Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionProject": "Visual-Scripting",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "receiveSignals",
|
||||
"propertyToCheckFor": "incomingSignals",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Receive Signals",
|
||||
"relatedUiObject": "Receive Signals",
|
||||
"label": "Add Incoming Signals",
|
||||
"relatedUiObject": "Incoming Signals",
|
||||
"relatedUiObjectProject": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
@@ -67,15 +67,15 @@
|
||||
"project": "Social-Bots"
|
||||
},
|
||||
{
|
||||
"name": "sendSignals",
|
||||
"name": "outgoingSignals",
|
||||
"type": "node",
|
||||
"childType": "Send Signals",
|
||||
"childType": "Outgoing Signals",
|
||||
"project": "Trading-Signals"
|
||||
},
|
||||
{
|
||||
"name": "receiveSignals",
|
||||
"name": "incomingSignals",
|
||||
"type": "node",
|
||||
"childType": "Receive Signals",
|
||||
"childType": "Incoming Signals",
|
||||
"project": "Trading-Signals"
|
||||
}
|
||||
],
|
||||
|
||||
File renamed without changes.
File renamed without changes.
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "Receive Signals",
|
||||
"type": "Incoming Signals",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -33,5 +33,5 @@
|
||||
"autoAdd": false
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "receiveSignals"
|
||||
"propertyNameAtParent": "incomingSignals"
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "Send Signals",
|
||||
"type": "Outgoing Signals",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -33,5 +33,5 @@
|
||||
"autoAdd": false
|
||||
}
|
||||
],
|
||||
"propertyNameAtParent": "sendSignals"
|
||||
"propertyNameAtParent": "outgoingSignals"
|
||||
}
|
||||
@@ -18,6 +18,7 @@ exports.newTradingSignalsBotModulesTradingSignals = function (processIndex) {
|
||||
tradingEngine = TS.projects.foundations.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).SIMULATION_STATE.tradingEngine
|
||||
sessionParameters = TS.projects.foundations.globals.processConstants.CONSTANTS_BY_PROCESS_INDEX_MAP.get(processIndex).SESSION_NODE.tradingParameters
|
||||
|
||||
|
||||
taskParameters = {
|
||||
exchange: TS.projects.foundations.globals.taskConstants.TASK_NODE.parentNode.parentNode.parentNode.referenceParent.parentNode.parentNode.name,
|
||||
market: TS.projects.foundations.globals.taskConstants.TASK_NODE.parentNode.parentNode.parentNode.referenceParent.baseAsset.referenceParent.config.codeName +
|
||||
|
||||
Reference in new issue
Block a user