Available translations

Lock

foundations.png
lock.png
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.
Content
Possible values for lock are open and closed.
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.
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.
Configuring
Lock Configuration
Properties
  • initialValue allows resetting the initial state of the node to an arbitrary value.
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
Lock Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Lock with other nodes:
Compatible Types: