The network hierarchy organizes the infrastructure to run bots and store data. It is the hierarchy you will use the most to operate the system.
The network hierarchy provides the control functions for running data-mining and trading operations. Because operations may be run either on a single machine or distributed over a network of machines, it also contains definitions regarding the physical location in which nodes live or function.

The network hierarchy defines where in the network you run each of the bots you choose to run, and where the data they output is stored.

You will use the network hierarchy for the following purposes:

  • To control your data mining operation—that is, tasks running sensor and indicator bots. Data mining tasks process data that may be consumed by others; for example, so that your trading systems may count with quality information.

  • To control your testing environment—that is, trading sessions including backtesting and paper trading sessions.

  • To control your production environment—that is, forward testing, and live trading sessions.

  • To manage the storage of the data produced by the bots you run as outputs. This includes administering the physical locations on which the data products produced by bots reside.

Network Node

A network node represents a machine running Superalgos, on which processes run and data is stored.

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 machine 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.

Click to learn more about adding network nodes

Adding a Network Node

To add a network node, select Add Network Node on the Superalgos Network node menu. A network node is added along with the basic structure of nodes to set up a node.

Configuring the Network Node

Select Configure on the menu to access the configuration.

{ 
"host": "localhost", 
"webPort": "34248", 
"webSocketsPort": "18041"
}
  • 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.


Network

Network Node

Data Mining

Testing Environment

Production Environment

Data Storage