Available translations

Sensor Bot Instance

foundations.png
sensor-bot-instance.png
A sensor bot instance is a reference to a Sensor Bot as defined in a data mine. The instance of the bot runs the defined processes and generates the defined data products.
Content
The sensor bot instance holds no definitions as to what the bot does. Instead, its process instance references a process definition in the corresponding data mine. That is how the sensor bot instance obtains the information regarding what it needs to do once it is run.
Configuring
Sensor Bot Instance Configuration
Properties
  • startDate is the desired starting date of the data product the sensor bot instance builds, in the YYYY-MM-DD format. The sensor bot instance queries its data source for data starting on the configured startDate.
The actual date in which the dataset starts depends on external factors: A. The market may start at a later date. B. The exchange may limit how far in the past data may be retrieved. In both cases, the sensor bot automatically discovers the date closest to the desired starting date* that is possible to start with, and proceeds accordingly.
In the case the startDate is changed after the sensor bot has started building a data product, either for an earlier or later date, the sensor re-evaluates the feasibility of starting at the new date. The actual date may or may not change; regardless, the sensor bot discards the existing data product and starts over from the newly discovered date. In other words, if the startDate is changed, the sensor bot starts over.
Initial Values
These are the Initial Values for Sensor Bot Instance configuration:
 {
    "startDate": "2021-01-01",
    "waitForSignalsToRunNextLoop": false
}
Examples
This is a list of properties featured by the Sensor Bot Instance configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Sensor Bot Instance Menu
The Sensor Bot Instance node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
  • dontShowAtFullscreen: true
  • actionFunction: uiObject.configEditor.activate
The Add Process Instance menu item has the following properties:
  • action: Add UI Object
  • label: Add Process Instance
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Add Social Trading Bot Reference menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: socialTradingBotReference
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Social-Trading
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
Sensor Bot Instance Children
The Sensor Bot Instance node has the following childrenNodesProperties:
The Processes node property features the following properties:
  • name: processes
  • type: array
  • autoAdd: false
The Social Trading Bot Reference node property features the following properties:
  • name: socialTradingBotReference
  • type: node
  • project: Social-Trading
  • autoAdd: false
Sensor Bot Instance Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Sensor Bot Instance with other nodes:
Compatible Types: