Available translations



loading results
User Defined Variables
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.
Структура узла User Defined Variables - это неиспользуемая область торгового движка, к которой пользователи могут обращаться из своей торговой системы для хранения данных.
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.
Часто при построении стратегии может возникнуть необходимость в месте для хранения некоторых данных. Узлы User Defined Variables являются подходящим местом для этого. Дочерние узлы (узлы User Defined Variable) этого узла не используются базовым кодом процессов Superalgos, поэтому данные, помещенные в эти переменные, останутся неизменными и доступными в течение всего эпизода.
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.
- Persistence: Следует отметить, что эти переменные будут сохраняться на протяжении всего эпизода системы, а не только на этапе или уровне стратегии, на котором они установлены.
- State: A user defined variable is mutable.
- State: Переменная, определяемая пользователем, является изменяемой.
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
- relatedUiObject: User Defined 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
Tip: When a menu item is grayed out, it means that User Defined Variables already has the required child type that the menu item may add, and only that child is allowed for that case.
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
- childType: User Defined Variable
- 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: