Available translations

Sensor Bot

sensor-bot.png
A sensor bot extracts raw data from external sources where a certain specific extracting algorithm needs to be coded, and stores it in a dataset that other bots may consume.
Content
When there is no need for a special algorithm to be coded, Superalgos users run an API Data Fetcher Bot, which uses an API Map to describe the API itself and the bot allows fetching data without the need to code an algorithm at all.
Current Implementation
There are only two processes coded for the Sensor Bot so far:
  • Historic-OHLCVs: It can specifically fetch 1 minute candles from exchanges supported by the CCXT open source library.
  • Check Webhooks: It checks for information that arrived at the client comming from webhook calls from external systems.
More processes might be coded in the future as the system grows.
Configuring
Sensor Bot Configuration
Properties
  • codeName is the name of the bot as used within the code of the system. This will also be used as the folder name at the Data-Storage folder structure.
Initial Values
These are the Initial Values for Sensor Bot configuration:
 {
    "codeName": ""
}
Examples
This is a list of properties featured by the Sensor Bot configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Sensor Bot Menu
The Sensor Bot 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
  • actionProject: Foundations
The Add Process Definition menu item has the following properties:
  • action: Add UI Object
  • label: Add Process Definition
  • relatedUiObjectProject: Foundations
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
The Add Product Definition menu item has the following properties:
  • action: Add UI Object
  • label: Add Product Definition
  • relatedUiObjectProject: Foundations
  • 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
Sensor Bot Children
The Sensor Bot node has the following childrenNodesProperties:
The Processes node property features the following properties:
  • name: processes
  • type: array
  • autoAdd: true
  • project: Foundations
The Products node property features the following properties:
  • name: products
  • type: array
  • autoAdd: true
  • project: Foundations
Sensor Bot Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Sensor Bot with other nodes:
Compatible Types: