Available translations

Hits

foundations.png
hits.png
Hits counts the number of positions that closed with a positive profit loss, in the context of the parent node.
Content
In the context of the quoted asset or the base asset, hits are calculated relative to the asset in question. That is, if the base asset profit loss is positive, then a hit is counted for the base asset.
However, when the context of the asset is not specified—such as under the statistics node—then hits are calculated in a consolidated manner, converting the respective balances to perform the calculations.
Configuring
Hits Configuration
Properties
  • initialValue allows resetting the initial state of the node to an arbitrary value.
Initial Values
These are the Initial Values for Hits configuration:
 {
    "initialValue": 0
}
Examples
This is a list of properties featured by the Hits configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Hits Menu
The Hits 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
Hits Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Hits with other nodes:
Compatible Types: