For all questions:

+7 495 274-22-22

UDK: 330.44 DOI:10.33920/vne-04-2403-06

Development of a cyber-physical system in Python and QLua for trading on the QUIK platform on MoEx in line with the digitalization of the economy

Nikolay Ivanovich Lomakin Candidate of Economics, Associate Professor, Volgograd State Technical University, Russia, 400005, Volgograd, V. I. Lenina, 28, e-mail: tel9033176642@yahoo.com, ORCID: 0000-00016597-7195
Maksim Sergeevich Maramygin Doctor of Economics, Professor, Director of the Institute of Finance and Law, Professor of the Department of Finance, Money Circulation and Credit, Ural State Economic University, Russia, 620144, Yekaterinburg, 8 Marta st., 62, e-mail: maram_m_s@mail.ru, ORCID: 0000-0003-3416-775X
Ekaterina Viacheslavovna Kosobokova Candidate of Economics, Associate Professor, Head of the Department of Economics, Volgograd Branch of Russian University of Economics name G. V. Plekhanov, Russia, 400005, Volgograd, Volgodonskaia st., 13, e-mail: ekkosobokova@yandex.ru, ORCID: 0000-0002-6880-2021
Larisa Irekovna Bestuzheva Candidate of Economics, Associate Professor, Volgograd Cooperative Institute (branch) of the Russian University of Cooperation, Russia, 400002, Volgograd, Novosibirskaya st., 76, e-mail: Lara_07.81@mail.ru, ORCID: 0000-0001-6759-6142
Olga Vitalievna Yurova Candidate of Sociological Sciences, Associate Professor, Volgograd State Technical University, Russia, 400005, Volgograd, V. I. Lenina ave., 28, e-mail: yurova@vstu.ru, ORCID: 0000-0002-7628-4471
Alexey Anatolyevich Polozhentsev student, Faculty of Computer Science, Voronezh State University, Russia, 394018, Voronezh, University Square, 1, e-mail: polojencev135@mail.ru, ORCID: 0009-0004-6824-1019
Ivan Nikolaevich Lomakin master's student of the Department of Computer-Aided Design and Search Design, Volgograd State Technical University, Volgograd State Technical University, Russia, 400005, Volgograd, V. I. Lenina ave., 28, e-mail: ivan.grom0boy@yandex.ru, ORCID: 0000-0001-7392-1554

The article discusses theoretical approaches to modeling stock trading robots — cyber-physical systems in the conditions of innovative transformations and large-scale digitalization of the economy and financial sector. The relevance of the study is that currently there is a tendency to increase the share of algorithmic trading on the stock exchange, and the share of trading robots based on artificial intelligence is increasing. A fresh technological trend is the use of stock trading robots — cyber-physical systems based on cognitive modeling, artificial intelligence algorithms operating in digital ecosystems. Robotic algorithms compete with each other, tracking the dynamics of submitted orders, looking for "densities" in the order book, changing the frequency of purchase/sale transactions, monitoring the entire market of financial instruments, tracking spikes in volatility, catching transactions of large players in the table of impersonal transactions, adjusting the parameters in your scripts online. The scientific novelty lies in the fact that in the presented study a deep learning model DL model "Random Forest" was formed, which calculates the forecast of the closing price of the SiZ3 futures contract on the required time frame. The practical significance of the study is that the results obtained have been implemented and are actively used in stock trading. The criterion for the success of the predictive properties of the DL model was the value of the average forecast error (MAE). The proposed DL model uses the best decision tree, which has optimal hyperparameter settings, for example, the depth of the tree is six layers, the number of estimators (trees) in the ensemble is ten. In the experiment, the hyperparameters of the neural network did not change; the input parameters to various trees were selected randomly by the algorithm. The DL model showed high forecast accuracy

Дата поступления рукописи в редакцию: 19.12.2023.

Дата принятия рукописи в печать: 15.01.2024.

Как известно, в условиях цифровизации экономики наблюдается широкомасштабное использование биржевых торговых ботов различных функциональных возможностей и алгоритмов на основе искусственного интеллекта.

Цель работы — сформировать гибридную киберфизическую систему, которая бы состояла как минимум из двух систем интеллектуальной поддержки принятия решения о покупке/ продаже биржевого актива на Московской бирже с использованием торгового терминала QUIK. Во-первых, которая была бы способна, реагируя на изменение рынка на основе обработки пятимерного вектора часовой свечи фьючерсного контракта СИУ3, рассчитать прогнозные значения цены закрытия фьючерса. Во-вторых, отправить требуемый ордер на биржу на покупку/продажу фьючерсного контракта, используя при этом функцию выставления стоп-ордеров, в целях минимизации риска потерь и повышения прибыльности спекулятивной торговли.

Актуальность исследования состоит в том, что в настоящее время наблюдается тенденция увеличения доли алгоритмической торговли на бирже, причем доля торговых роботов на искусственном интеллекте возрастает.

Научная новизна заключается в том, что в представленном исследовании выдвинута и доказана гипотеза, что с помощью сформированной DL-модели глубокого обучения «Случайный лес», которая вместе с торговым ботом образует киберфизическую систему, можно получить прогноз цены закрытия Pc фьючерсного контракта SiZ3 на таймфрейме 1 час. Причем полученное уравнение множественной регрессии, рассчитанное DL-моделью, переданное в скрипт торгового робота, позволяет ему, торгуя на терминале QUIK, обеспечивать получение вариационной маржи с доходностью выше ставки Центро банка.

Практическая значимость исследования в том, что полученные результаты внедрены и активно используются в биржевой торговле, и наблюдаются тенденции его дальнейшего использования.

For citation:
Nikolay Ivanovich Lomakin, Maksim Sergeevich Maramygin, Ekaterina Viacheslavovna Kosobokova, Larisa Irekovna Bestuzheva, Olga Vitalievna Yurova, Alexey Anatolyevich Polozhentsev, Ivan Nikolaevich Lomakin, Development of a cyber-physical system in Python and QLua for trading on the QUIK platform on MoEx in line with the digitalization of the economy. The World Economics. 2024;3.
The full version of the article is available for subscribers of the journal
Article language:
Actions with selected: