XII.10. Special software for programming robots for trading.

Let’s look at what packages are available on the market for automated robot development. Information found at the link:


TSLab is a Russian–made program that makes it possible to create and manage mechanical trading systems (MTS).

https://doc.tslab.pro/tslab/ – TSLAB developer’s website.

https://www.youtube.com/c/TSLabLive – TSLAB Developer Channel.

https://www.youtube.com/watch?v=__CtH7QxpRk – a good video for a quick introduction to the program.


There is a special plugin with the TradeScript trading robot constructor in the ITinvest trading terminal called SmartX. With the help of a simple but rather powerful scripting language, traders can create mechanical systems of various levels of complexity.

CQG Integrated Client is a professional multifunctional technical analysis platform popular with traders all over the world, providing real-time quotes from a variety of trading platforms. The program also provides opportunities for automating trading operations.

Wealth-Lab is a powerful system of technical analysis, development and testing of trading strategies created by Fidelity International. You can create trading robots using the built-in WealthScript programming language. The latest versions of the system also use C# and others.NET languages

The LiveTrade software package was created by the developers of the St. Petersburg company CoFiTe. Among other things, it includes a software solution for creating trading robots — Robotlab. This tool, like TSLab, allows traders to create automated trading systems using flowcharts in a visual designer.

TradeMatic is a tool that allows you to create trading robots using a visual designer without programming as such. Provides an opportunity to test the resulting robot using the built-in historical data source.

SmartCom – the open interface of the ITinvest trading system also allows traders to create trading robots of varying degrees of complexity and connect external development environments and trading systems already created in them. Using the component object model allows you to connect mechanical trading systems written in a variety of programming languages to the broker’s trading servers. For example, C++, any из.NET languages (C#, VB.NET and others), Visual Basic, Visual Basic for Application (in particular from Microsoft Excel) and many others.

MetaStock is also a popular foreign product. The MetaStock system contains an extensive library of indicators and tools for creating your own formulas. A simple programming language is also provided, with the help of additional modules, you can generate buy and sell orders.

StockSharp is an open source StockSharp platform that is free in the basic version. Based on it, products for creating trading robots have been developed.

At the moment, the S# team has implemented a full range of software tools for algotraders — a system for collecting and storing historical data (it can distribute data in server mode), a history testing system, a number of graphical components.

As a result, in fact, in a day a trader can develop a fully functional module for connecting to trading, displaying graphical information and testing the strategy being created on historical data.

Quik is an abbreviation for the Quickly Updatable Information Kit. Prior to version 6.4, Quik provided a built-in Qpile scripting language. It had a small set of features compared to high-level languages (C# or C++) and was mainly used to automate simple trading strategies.

Quik versions older than 6.4.0 support Lua scripts. This language is also built into the terminal, is quite simple and has more functionality than Qpile. Since Lua is an interpreted language, a special QLua library is used to work with its code.

Well, we have already considered the ATF language for TRANSAQ above.

Let’s briefly consider the basics of working with such packages using the example of TSLAB.

1. A specific set of historical data of the desired tool is loaded.

2. A graph is displayed.

3. The idea of a trading strategy is formed or a ready-made one is taken.

4. Standard TSLAB blocks are selected from which the future robot body is assembled.

5. The blocks are configurable. If there is a shortage of standard blocks, their own blocks can be programmed.

6. The work of the assembled robot can be immediately displayed on a graph to study the resulting picture of the robot’s activity on historical data.

7. When errors are detected, new blocks are added or parameters or connections between previously placed blocks are adjusted.

8. Risk management control blocks are added.

9. Application placement blocks, stops, take profits are added.

10. The connection to the desired exchange is configured and you can start trading.

A step-by-step guide with a simple example of a working trading robot can be found here:


Thus, TSLAB software has the highest flexibility and is a desktop laboratory for creating, analyzing, testing, optimizing, and launching trading robots. The software is free for robot development. Connection to the exchange is usually paid on a monthly basis in the region of 4000 rubles per month. If you understand programming, it is advisable to work out a simulation of your robot in TSLAB, and then program it in the right environment and use it for free.

At the same time, you can use such robots as an auxiliary tool for detecting template signals and processing them, or make trading automatic. Also pay attention to the fact that there is a free license for trading on the BINANCE exchange for TSLAB users, which allows trading for free.

Leave a Reply