Available translations

LAN Network Node

foundations.png
lan-network-node.png
A network node represents a machine running Superalgos, on which processes run and data is stored.
Content
By default, processes are set up to run locally in a network node representing your local machine. However, the system is prepared to run distributed on a network of nodes, or what we call a trading farm.
You may create unlimited network nodes and map them with different machines on a network. Each computer in the network runs an instance of the Superalgos backend, and you may control the whole network operation from a single machine, or—in general—from any machine in the network running the Superalgos frontend. To learn more about distributed setups, check the trading farms pages.
The easiest and fastest way to set up a network node is using the Install Market function available on markets defined in the Crypto Ecosystem hierarchy, under the exchange markets node. This function adds data mining tasks for all sensor and indicator bots shipping with the system, backtesting and live trading tasks for trading systems shipping with the system, including the data storage definitions for both, and also creates the corresponding dashboards and charts in the Charting Space hierarchy. You may learn more about this function in the how to install a new market page.
If you need finer control over the operation you wish to deploy on the network, then you may use the individual functions available under each section of the hierarchy under the network node.
Configuring
LAN Network Node Configuration
Properties
  • host is the machine or hardware represented by the network node. The default parameter is localhost, but if you intend to access the backend services of this node from a remote computer, then you must change localhost for the IP Address of the machine on which the node is running, for example, to 147.0.0.1.
  • webPort is the port used by the Web Server, at this stage 34248.
  • webSocketsPort is the port used by the system to communicate over the local area network, by default set at 18041.
  • webSocketsExternalURL is the URL used by the system to communicate over the wide area network, by default set undefined.
Initial Values
These are the Initial Values for LAN Network Node configuration:
 {
    "host": "localhost",
    "webPort": "34248",
    "webSocketsPort": "18041"
}
Examples
This is a list of properties featured by the LAN Network Node configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
LAN Network Node Menu
The LAN Network Node 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 Tasks menu item has the following properties:
  • label: Add Tasks
  • iconPathOn: add-tasks
  • iconPathOff: add-tasks
  • menuItems: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Add Data Storage menu item has the following properties:
  • action: Add UI Object
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: dataStorage
  • label: Add Data Storage
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Check for Updates menu item has the following properties:
  • action: Check for Updates
  • label: Check for Updates
  • iconPathOn: update
  • iconPathOff: update
  • iconProject: Foundations
  • actionFunction: payload.executeAction
  • actionProject: Foundations
  • relatedUiObjectProject: Foundations
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
LAN Network Node Children
The LAN Network Node node has the following childrenNodesProperties:
The Data Tasks node property features the following properties:
  • name: dataTasks
  • type: node
  • autoAdd: true
The Learning Tasks node property features the following properties:
  • name: learningTasks
  • type: node
  • autoAdd: true
The Testing Trading Tasks node property features the following properties:
  • name: testingTradingTasks
  • type: node
  • autoAdd: true
The Production Trading Tasks node property features the following properties:
  • name: productionTradingTasks
  • type: node
  • autoAdd: true
The Testing Portfolio Tasks node property features the following properties:
  • name: testingPortfolioTasks
  • type: node
  • childType: Testing Portfolio Tasks
  • autoAdd: true
The Production Portfolio Tasks node property features the following properties:
  • name: productionPortfolioTasks
  • type: node
  • childType: Production Portfolio Tasks
  • autoAdd: true
The Data Storage node property features the following properties:
  • name: dataStorage
  • type: node
  • autoAdd: true
LAN Network Node Attaching Rules
The following are the Node Attaching Rules that govern the attachment of LAN Network Node with other nodes:
Compatible Types: