Available translations



loading results
Lock
Lock is an internal mechanism that blocks the data structure of the order at the trading engine when the definition of the order at the trading system disallows spawning multiple orders.
Lock - это внутренний механизм, который блокирует структуру данных ордера в торговом движке, когда определение ордера в торговой системе запрещает порождать несколько ордеров.
Content
Possible values for lock are open and closed.
Возможные значения для Lock - открыто и закрыто.
The moment an order is closed, the system checks the
spawnMultipleOrders parameter at the order's configuration in the trading system. If the value is false, the system sets the lock to closed so that the data structure may not be used again during the same position. В момент закрытия ордера система проверяет параметр
spawnMultipleOrders в конфигурации ордера в торговой системе. Если значение равно false, система устанавливает блокировку на closed, чтобы структура данных не могла быть использована снова во время той же позиции. At the moment of opening an order, the system checks the
spawnMultipleOrders parameter at the order's configuration in the trading system. If the value is false, the system checks the value of the lock. If the value is open, then it may create the order; if it is closed then the order may not be created. В момент открытия ордера система проверяет параметр
spawnMultipleOrders в конфигурации ордера в торговой системе. Если значение равно false, то система проверяет значение блокировки. Если значение открыто, то она может создать ордер, если закрыто, то ордер не может быть создан. Configuring
Lock Configuration
Конфигурация Lock
Properties
Свойства
-
initialValueallows resetting the initial state of the node to an arbitrary value.
-
initialValueпозволяет сбросить начальное состояние узла на произвольное значение.
Initial Values
These are the Initial Values for Lock configuration:
{
"initialValue": "Open"
} Examples
This is a list of properties featured by the Lock configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Lock Menu
The Lock node has the following Node Menu items:
The Configure menu item has the following properties:
- action: Configure
- label: Configure
- iconPathOn: configuration
- iconPathOff: configuration
- actionFunction:
uiObject.configEditor.activate
The Copy Node Path menu item has the following properties:
- action: Copy Node Path
- label: Copy Node Path
- iconPathOn: copy-path
- iconPathOff: copy-path
- actionFunction:
payload.executeAction
- actionProject: Visual-Scripting
The Copy Node Value menu item has the following properties:
- action: Copy Node Value
- label: Copy Node Value
- iconPathOn: copy-value
- iconPathOff: copy-value
- actionFunction:
payload.executeAction
- actionProject: Visual-Scripting
The Copy Node Type menu item has the following properties:
- action: Copy Node Type
- label: Copy Node Type
- iconPathOn: copy-type
- iconPathOff: copy-type
- actionFunction:
payload.executeAction
- actionProject: Visual-Scripting
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 Lock already has the required child type that the menu item may add, and only that child is allowed for that case.
Lock Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Lock with other nodes:
Compatible Types: