title: ÐÐ²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÐ¾Ð²Ð°Ð½Ð½Ð¾Ðµ ÑÐ¾ÑÐ³Ð¾Ð²Ð¾Ðµ ÑÐµÑÐµÐ½Ð¸Ðµ Ð´Ð»Ñ ÑÐµÐ±Ð°Ð»Ð°Ð½ÑÐ¸ÑÐ¾Ð²ÐºÐ¸ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÑÐµÐ»Ñ Ð½Ð° Ð±Ð°Ð·Ðµ Ð¿Ð»Ð°ÑÑÐ¾ÑÐ¼Ñ Tinkoff Invest API
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Automated trading solution for rebalancing an investment portfolio based on the Tinkoff Invest API platform
Creators: name: ÐÐ²Ð¾Ð·Ð´Ð¸Ðº, ÐÐ»ÑÐ½Ð°
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2023
Subjects: Ð°ÐºÑÐ¸Ð¸
ÑÐ¾Ð½Ð´Ð¾Ð²ÑÐ¹ ÑÑÐ½Ð¾Ðº
Ð±Ð¸ÑÐ¶Ð°
Ð°ÐºÑÐ¸Ð²
Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð°
Ð¿Ð¾ÑÑÑÐµÐ»Ñ
Ð¾Ð¿ÑÐ¸Ð¼Ð¸Ð·Ð°ÑÐ¸Ñ
ÑÐµÐ±Ð°Ð»Ð°Ð½ÑÐ¸ÑÐ¾Ð²ÐºÐ°
ÑÐ¸ÑÐºÐ¸
ÐºÐ¾Ð½ÑÐ¾Ð»ÑÐ½Ð¾Ðµ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ
javascript
nodejs
tinkoff
stocks
stock market
stock exchange
asset
program
portfolio
optimization
re-balancing
risks
console application

description: Ð¦ÐµÐ»ÑÑ Ð´Ð°Ð½Ð½Ð¾Ð¹ Ð²ÑÐ¿ÑÑÐºÐ½Ð¾Ð¹ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÑ ÑÐ²Ð»ÑÐµÑÑÑ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ð³Ð¾ ÑÐ¾ÑÐ³Ð¾Ð²Ð¾Ð³Ð¾ ÑÐµÑÐµÐ½Ð¸Ñ, ÐºÐ¾ÑÐ¾ÑÐ¾Ðµ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÑÐµÑ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ðµ, Ð²ÑÐ±ÑÐ°Ð½Ð½ÑÑ Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÐµÐ»ÐµÐ¼, ÐºÐ¾ÑÐ¸ÑÐ¾Ð²Ð¾Ðº ÑÐµÐ½Ð½ÑÑ Ð±ÑÐ¼Ð°Ð³ ÑÐ¾Ð½Ð´Ð¾Ð²Ð¾Ð¹ Ð±Ð¸ÑÐ¶Ð¸, Ð¸ ÑÐµÐ±Ð°Ð»Ð°Ð½ÑÐ¸ÑÑÐµÑ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½ÑÐ¹ Ð¿Ð¾ÑÑÑÐµÐ»Ñ Ð² ÑÐ¾Ð¾ÑÐ²ÐµÑÑÑÐ²Ð¸Ð¸ Ñ Ð²ÑÐ±ÑÐ°Ð½Ð½ÑÐ¼Ð¸ ÐºÑÐ¸ÑÐµÑÐ¸ÑÐ¼Ð¸.Â ÐÐ°Ð´Ð°ÑÐ¸ Ð²ÑÐ¿ÑÑÐºÐ½Ð¾Ð¹ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÑ:1. ÐÐ¿Ð¸ÑÐ°ÑÑ ÑÐµÐ¾ÑÐµÑÐ¸ÑÐµÑÐºÑÑ ÑÑÑÐ½Ð¾ÑÑÑ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¹ Ð¸ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÑÐµÐ»Ñ.2. ÐÑÐ¾Ð°Ð½Ð°Ð»Ð¸Ð·Ð¸ÑÐ¾Ð²Ð°ÑÑ Ð¼Ð°ÑÐµÐ¼Ð°ÑÐ¸ÑÐµÑÐºÐ¸Ðµ Ð¼Ð¾Ð´ÐµÐ»Ð¸ ÑÐ°ÑÐ¿ÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð°ÐºÑÐ¸Ð²Ð¾Ð² Ð´Ð»Ñ ÑÐ¾ÑÐ¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÑÐµÐ»Ñ.3. Ð Ð°ÑÑÐ¼Ð¾ÑÑÐµÑÑ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾-ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ðµ ÑÑÐµÐ´ÑÑÐ²Ð° Ð½ÐµÐ¾Ð±ÑÐ¾Ð´Ð¸Ð¼ÑÐµ Ð´Ð»Ñ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ¸.4. Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐ°ÑÑ Ð¸ Ð¿ÑÐ¾Ð²ÐµÑÐ¸ÑÑ ÑÐ°Ð±Ð¾ÑÐ¾ÑÐ¿Ð¾ÑÐ¾Ð±Ð½Ð¾ÑÑÑ ÑÐµÑÑÐ¾Ð²Ð¾Ð³Ð¾ Ð¾Ð±ÑÐ°Ð·ÑÐ° ÑÐ¾ÑÐ³Ð¾Ð²Ð¾Ð³Ð¾ ÑÐµÑÐµÐ½Ð¸Ñ.Ð ÑÐµÐ¾ÑÐµÑÐ¸ÑÐµÑÐºÐ¾Ð¹ ÑÐ°ÑÑÐ¸ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ»Ð¸ Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ñ ÑÑÐ½Ð´Ð°Ð¼ÐµÐ½ÑÐ°Ð»ÑÐ½ÑÐµ Ð¾ÑÐ½Ð¾Ð²Ñ ÑÐ¾ÑÐ¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÑÐµÐ»Ñ, Ð¼Ð°ÑÐµÐ¼Ð°ÑÐ¸ÑÐµÑÐºÐ¸Ðµ Ð¼Ð¾Ð´ÐµÐ»Ð¸ Ð¸ Ð¿Ð¾Ð´ÑÐ¾Ð´Ñ, Ð¸ÑÐ¿Ð¾Ð»ÑÐ·ÑÐµÐ¼ÑÐµ Ð´Ð»Ñ ÑÐ¾ÑÐ¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¾Ð¿ÑÐ¸Ð¼Ð°Ð»ÑÐ½ÑÑ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½ÑÑ Ð¿Ð¾ÑÑÑÐµÐ»ÐµÐ¹ ÑÐµÐ½Ð½ÑÑ Ð±ÑÐ¼Ð°Ð³.Â Ð Ð¿ÑÐ°ÐºÑÐ¸ÑÐµÑÐºÐ¾Ð¹ ÑÐ°ÑÑÐ¸ Ð±ÑÐ»Ð¾ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð¾ ÐºÐ¾Ð½ÑÐ¾Ð»ÑÐ½Ð¾Ðµ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ Ð´Ð»Ñ ÑÐµÐ±Ð°Ð»Ð°Ð½ÑÐ¸ÑÐ¾Ð²ÐºÐ¸ Ð¸Ð½Ð²ÐµÑÑÐ¸ÑÐ¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ Ð¿Ð¾ÑÑÑÐµÐ»Ñ Ð¿Ð¾ Ð²ÑÐ±ÑÐ°Ð½Ð½ÑÐ¼ ÐºÑÐ¸ÑÐµÑÐ¸ÑÐ¼ Ð¸ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¾ ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ ÑÐ°Ð±Ð¾ÑÑ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½Ð¾Ð³Ð¾ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ.ÐÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½ÑÐ¹ ÐºÐ¾Ð´ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½ Ð½Ð° ÑÐ·ÑÐºÐµ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ JavaScript Ñ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸ÐµÐ¼ gRPC-Ð¸Ð½ÑÐµÑÑÐµÐ¹ÑÐ° TINKOFF INVEST API.
description: The purpose of this graduate qualifying work is to develop an automatic trading solution that automates the receipt of stock exchange quotations selected by the user, and rebalances the investment portfolio in accordance with the selected criteria.Tasks of the graduate qualifying work:1. Describe the theoretical essence of investments and investment portfolio.2. Analyze mathematical models of asset allocation for the formation of an investment portfolio.3. Consider the software and hardware necessary for development.4. Develop and test the operability of a test sample of a trading solution.In the theoretical part of the work, the fundamental principles of investment portfolio formation, mathematical models and approaches used to form optimal investment portfolios of securities were investigated.In the practical part, a console application was developed to rebalance the investment portfolio according to the selected criteria and tested the operation of the developed application.The program code is implemented in the JavaScript programming language using the gRPC interface -TINKOFF INVEST API.