Available translations

Situation

foundations.png
situation.png
A situation refers to a specific state of the market in which a certain event should take place, as defined by any number of conditions.
Content
In other words, you define situations in which you wish a certain event to happen (i.e.: trigger on the strategy, take a position, etc.) and each situation is described as a set of conditions that need to be met for the event to be triggered.
A situation gets validated when all conditions under it are true.
An event may have more than one situation attached to it. In such a case, when any of the situations gets validated, the event gets triggered. That is, events may be triggered in different circumstances, meaning that you are free to define different situations upon which the same event would be triggered. In such a case, when any of the situations evaluate true, then the event is triggered.
Situation Menu
The Situation node has the following Node Menu items:
The Add Condition menu item has the following properties:
  • action: Add UI Object
  • label: Add Condition
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Add Formula menu item has the following properties:
  • action: Add UI Object
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: formula
  • label: Add Formula
  • 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
Situation Children
The Situation node has the following childrenNodesProperties:
The Conditions node property features the following properties:
  • name: conditions
  • type: array
  • autoAdd: true
The Formula node property features the following properties:
  • name: formula
  • type: node
Situation Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Situation with other nodes:
Compatible Types: