Available translations

User Defined Variables

foundations.png
user-defined-variables.png
The User Defined Variables node structure is an unused area of the Trading Engine users can access from within their Trading System to store data.
Overview
Oftentimes, when building a strategy, the need for a place to store some data may arise. The User Defined Variables nodes are the correct place to do this. The children nodes (User Defined variable nodes) of this node are unused by the base code of the Superalgos processes thus the data placed inside these variables will remain unchanged and available for the duration of the episode.
Additional Info
  • Persistence: It should be noted that these variables will persist throughout the System's episode; not just at the stage or strategy layer from which they are set.
  • State: A user defined variable is mutable.
User Defined Variables Menu
The User Defined Variables node has the following Node Menu items:
The Add Variable menu item has the following properties:
  • action: Add UI Object
  • label: Add Variable
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
User Defined Variables Children
The User Defined Variables node has the following childrenNodesProperties:
The User Defined Variable node property features the following properties:
  • name: userDefinedVariable
  • type: array
  • autoAdd: true
User Defined Variables Attaching Rules
The following are the Node Attaching Rules that govern the attachment of User Defined Variables with other nodes:
Compatible Types: