Files
Superalgos/docs/pages/suite/suite-managing-processes.md
T
Julian Molina c2fb254a04 New documentation
First commit, halfway through a major restructuring of documentation.
2020-02-01 11:25:36 +01:00

4.8 KiB

title, summary, sidebar, permalink
title summary sidebar permalink
Managing Processes suite_sidebar suite-managing-processes.html
Task Manager Task Sensor Bot Indicator Bot Trading Bot Process
task timeline bot-sensor bot-indicator trading-engine process

A task manager is an entity that controls any number of tasks, and tasks are used to control bots, which in turn may run any number of processes.

In other words, a task manager starts and stops tasks, and tasks are the devices you will use to start and stop bots.

Each task is an independent process at the operating system level, which handles its own memory allotment, and may be controlled and killed independently.

One task manager may have several tasks under its control, but each task should control only one bot instance.

Each bot may perform more than one job, thus, a bot instance may run one or more processes. Bots and processes are preconfigured so that you don't need to worry about their technical intricacies.

All you need to do is the basic operation: starting and stopping them via the corresponding tasks whenever you need them.

There currently are three kinds of bots that you will run to provide you with the data and functions you need:

  • Sensor Bots: they extract raw data from external sources (i.e.: exchanges, Twitter, etc.);

  • Indicator Bots: they process data to produce elaborate datasets;

  • Trading Bot: based on datasets exposed as products by other bots (counting sensors, indicators and even other trading bots), a trading bot applies the trading logic defined on a trading system to, on one side, generate a complete trading simulation (outputting datasets that include trades, the action of strategies, validation of conditions, etc.), and on the other side, manages the execution of orders when on a live-trading session.

Current Task Managers

All workspaces in the Quick-Start-Examples folder include the Superalgos Network, a network node representing your local machine, and four different task managers.

Each task manager has a name, which becomes visible only upon hovering the mouse pointer.

Masters Datasets

Hit Ctrl or ⌘ + Alt + D (D for Datasets) to quickly find the Masters Datasets task manager, named after the team that created the bots in it.

This task manager has several tasks, each controlling one of the bot instances required to keep the datasets you downloaded with the data release up-to-date.

Having all data your strategy consumes up-to-date is a requirement for paper trading, forward testing, and live trading sessions. If you wish to have the data up-to-date, you need to Start All Tasks using the menu.

Sparta Indicators

Hit Ctrl or ⌘ + Alt + I (I for Indicators) to quickly find the Sparta Indicators task manager. Again,Sparta is the name of the team that created this particular set of indicators.

If you wish to use these indicators in your strategies, please follow the guide about Using indicators not included in the data release.

Testing Sessions

Hit Ctrl or ⌘ + Alt + T (T for Testing) to find the Testing Sessions task manager.

This is the task manager you will use to run the trading bot instances in charge of running both backtesting and paper-trading sessions.

Live Sessions

Hit Ctrl or ⌘ + Alt + T (L for Live trading) to find the Live Trading Sessions task manager.

We keep the forward testing and live trading sessions separate from the backtesting and paper-trading sessions as there is money involved in the former. Keeping live sessions apart may help avoid unpleasant mistakes, turning on or off live sessions inadvertently.

PRO TIP: The Getting Started guide instructed you to start all tasks on the Masters Datasets task manager, but only the required task to start a backtesting session on the Testing Sessions task manager. Once you become proficient with the platform, you may want to start only individual tasks according to your specific needs.