{"id":390226,"date":"2024-06-29T09:06:31","date_gmt":"2024-06-29T09:06:31","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=390226"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=390226","title":{"rendered":"<span>\u041d\u0435\u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0438 \u0441 Python<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><strong>\u041e \u0447\u0435\u043c \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f<\/strong>: \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0438 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436 \u043d\u0430 Python.<\/p>\n<p>\u041a\u043e\u043c\u0443 \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u043e \u0432\u043e\u0442 <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\" rel=\"noopener noreferrer nofollow\">\u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434<\/a> \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u043f\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443. \u041d\u0443 \u0438\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a href=\"https:\/\/t.me\/CrazyInvestBot\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0431\u043e\u0442\u043e\u043c<\/a> \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0433\u043e, \u043d\u043e \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (\u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 ?). \u0410 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 <a href=\"#money\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0442\u043e\u0433\u043e\u0432<\/a>.<\/p>\n<hr\/>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u0441 \u201c\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u2026?\u201d, \u043c\u043e\u044f \u0438\u0434\u0435\u044f \u043d\u0435 \u043d\u043e\u0432\u0430 \u0438 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u201c\u043a\u043b\u0430\u0441\u0441\u043d\u043e\u0441\u0442\u044c\u201d. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435, \u0430 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u0434\u043b\u044f \u0430\u043a\u0446\u0438\u0439 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u0440\u044b\u043d\u043a\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430 \u043d\u0435\u043c \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0434\u043e\u043b\u0433\u0443\u044e?<\/p>\n<p>\u0427\u0442\u043e \u0436\u0435, \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u201c\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u2026\u201d \u044f \u0438 \u043e\u0442\u0432\u0435\u0447\u0443 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u0410 \u0432\u043e\u0442 \u043f\u0440\u043e &#171;\u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c&#187;&#8230; \u0442\u0443\u0442\u00a0 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u043e \u043e\u0431\u043e \u0432\u0441\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443.<\/p>\n<p><strong>\u041f\u043e\u0436\u0430\u043b\u0443\u0439, \u043d\u0430\u0447\u0430\u0442\u044c \u043d\u0430\u0434\u043e \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0435\u0439. \u0423 \u043c\u0435\u043d\u044f \u043d\u0435\u0442 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0431\u043e\u0433\u0430\u0442\u043e\u0433\u043e \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u043e\u043f\u044b\u0442\u0430. \u0412\u0441\u0435 \u0447\u0442\u043e \u0432\u044b \u043f\u0440\u043e\u0447\u0442\u0435\u0442\u0435 \u0434\u0430\u043b\u0435\u0435 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043c\u043e\u0438\u0445 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u043c\u043d\u0435\u043d\u0438\u0438. \u0418 \u043f\u043e\u043c\u043d\u0438\u0442\u0435: \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043e\u043f\u0440\u044f\u0436\u0435\u043d\u043d\u044b\u0439 \u0441 \u0440\u0438\u0441\u043a\u043e\u043c.<\/strong><\/p>\n<hr\/>\n<h2>\u041d\u0430\u0447\u0430\u043b\u043e \u043f\u0443\u0442\u0438<\/h2>\n<p>\u0417\u0430\u0439\u0434\u0443 \u0438\u0437\u0434\u0430\u043b\u0435\u043a\u0430. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u044f, \u043a\u0430\u043a \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u043e\u0431\u044b\u0432\u0430\u0442\u0435\u043b\u0438, \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u044f \u0432 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435, \u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u044f \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0433\u043e\u043d\u044f\u043b \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0430 \u0432 &#171;\u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0441\u0442&#187;, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043e\u043f\u044b\u0442. \u0427\u0442\u043e \u0438 \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043a \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044e \u0432\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u0434\u0435\u043d\u0435\u0436\u043d\u043e\u0439 \u0442\u0435\u043c\u044b \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043a\u0443\u0447\u0443 \u0441\u0442\u0430\u0442\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u0441\u044c \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u044b \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 &#171;\u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0445 \u0433\u0443\u0440\u0443&#187;, \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u043e\u043b\u0438\u043a\u043e\u0432 \u0438 \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0439\u0434\u044f \u043d\u0430 &#171;\u041d\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u0438&#187; \u043a\u0443\u0440\u0441\u044b \u0421\u0435\u0440\u0433\u0435\u044f \u0421\u043f\u0438\u0440\u0438\u043d\u0430 (\u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u0434\u044f\u0434\u044c\u043a\u0430 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u043d\u043e) \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043f\u0430\u0433\u0430\u043d\u0434\u0438\u0440\u0443\u0435\u0442 <a href=\"https:\/\/assetallocation.ru\/asset-allocation\/\" rel=\"noopener noreferrer nofollow\">Asset Allocation<\/a>. \u042f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0432\u043b\u0430\u0434\u0435\u0435\u0442 \u0441\u0443\u043f\u0435\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0431\u0438\u0440\u0436\u0438, \u0438 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u043a \u043e\u043d\u043e \u0442\u0430\u043c \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e. \u041f\u043e \u0441\u0443\u0442\u0438, \u043b\u044e\u0434\u0438 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 2 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0438\u0434\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432: \u0442\u0435 \u043a\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442 \u0432 \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u0443\u044e &#171;\u0443\u0433\u0430\u0434\u0430\u0439\u043a\u0443&#187;, \u043f\u043e\u0440\u043e\u0439 \u0434\u0430\u0436\u0435 \u0434\u0438\u0432\u0435\u0440\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044f \u0441\u0432\u043e\u0438 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0438 \u0432 \u043d\u0430\u0434\u0435\u0436\u0434\u0435 \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0438\u0441\u043a\u0438, \u0438 \u043d\u0430 \u0442\u0435\u0445 \u043a\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442 &#171;\u043d\u0435\u0447\u0435\u0441\u0442\u043d\u043e&#187; \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u043d\u0430 \u0438\u043d\u0441\u0430\u0439\u0434\u0435\u0440\u0441\u043a\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041f\u0440\u0438\u0447\u0435\u043c \u0436\u0435 \u0442\u0443\u0442 \u0440\u0430\u043d\u0434\u043e\u043c? \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u201c\u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0441\u0442\u0438\u201d \u044f \u043d\u0435 \u0440\u0430\u0437 \u043d\u0430\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u043a\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u043b\u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u0443\u044e \u043f\u0440\u0438\u0431\u044b\u043b\u044c. \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0438\u0445 \u0435\u0441\u0442\u044c \u0443 \u043c\u0435\u043d\u044f:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/vc.ru\/flood\/34471-v-2008-godu-obezyana-naugad-vybrala-akcii-i-za-devyat-let-zarabotala-bolshe-professionalnyh-investorov\" rel=\"noopener noreferrer nofollow\">\u041e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0430 \u041b\u0443\u043a\u0435\u0440\u044c\u044f<\/a> (\u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0441\u0430\u043c\u044b\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u043f\u043e\u0441\u0442\u0441\u043e\u0432\u0435\u0442\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435)<\/p>\n<\/li>\n<li>\n<p>\u0425\u043e\u043c\u044f\u043a \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440 <a href=\"https:\/\/www.bbc.co.uk\/news\/technology-58707641\" rel=\"noopener noreferrer nofollow\">Mr.Goxx<\/a><\/p>\n<\/li>\n<li>\n<p>\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0435 <a href=\"https:\/\/www.businessinsider.com\/forex-and-commodities-rat-traders-2014-9\" rel=\"noopener noreferrer nofollow\">\u043a\u0440\u044b\u0441\u044b \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u044b<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043f\u0443\u0433\u0430\u0439 <a href=\"https:\/\/www.impactlab.com\/2009\/08\/08\/parrot-beats-investors-in-south-korean-stock-market-contest\/\" rel=\"noopener noreferrer nofollow\">Ddalgi<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u0442 <a href=\"https:\/\/www.forbes.com\/sites\/frederickallen\/2013\/01\/15\/cat-beats-professionals-at-stock-picking\/?sh=6414e40f621a\" rel=\"noopener noreferrer nofollow\">\u041e\u0440\u043b\u0430\u043d\u0434\u043e<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e. \u041d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0438\u0445 \u043e\u0434\u043d\u043e (\u0442\u043e\u0447\u043d\u0435\u0435 &#171;\u0434\u0432\u0430&#187;). \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0443 \u0432\u0441\u0435\u0445 \u043a\u0440\u0430\u0439\u043d\u0435 \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0445\u043e\u043c\u044f\u043a\u0430, \u043e\u043d \u0448\u0438\u043a\u0430\u0440\u0435\u043d\u2026 \u0431\u044b\u043b). \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u044d\u0442\u043e \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u044b\u0436\u0438\u0432\u0448\u0435\u0433\u043e.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u0432\u044b\u0448\u0435, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0432\u0435\u0441\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u0440\u044b\u043d\u043e\u043a \u0430\u043a\u0442\u0438\u0432\u043e\u0432 (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e\u0440\u0433\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0435 \u201c<abbr title=\"\u043d\u0435\u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\" type=\"abbr\">\u043d\u0435\u043a\u0432\u0430\u043b\u0430\u043c<\/abbr>\u201d). \u041d\u0443 \u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0435\u0437\u0438\u0441 \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0432 \u0442\u044b\u0441\u044f\u0447\u0438 \u0441\u0434\u0435\u043b\u043e\u043a \u0438 \u0441\u043e\u0437\u0434\u0430\u0432 \u0441\u043e\u0442\u043d\u0438 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435\u0439, \u0447\u0442\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u043e (\u0434\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0432\u0435\u0441\u0435\u043b\u043e).<\/p>\n<p>\u0418 \u0442\u0430\u043a, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041f\u043e \u043d\u0430\u0447\u0430\u043b\u0443, \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043a\u043e\u0448\u0435\u043a \u0434\u0440\u0443\u0433\u0430. \u041d\u043e \u043e\u043d\u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043e\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u201c\u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0438\u201d.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/8f0\/5a9\/3da\/8f05a93da98cbdb753780e908ed7eec7.jpg\" alt=\" \u0420\u0435\u0430\u043a\u0446\u0438\u044f \u043a\u043e\u0448\u043a\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u043c. \" title=\" \u0420\u0435\u0430\u043a\u0446\u0438\u044f \u043a\u043e\u0448\u043a\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u043c. \" width=\"1280\" height=\"960\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8f0\/5a9\/3da\/8f05a93da98cbdb753780e908ed7eec7.jpg\" data-blurred=\"true\"\/><figcaption> \u0420\u0435\u0430\u043a\u0446\u0438\u044f \u043a\u043e\u0448\u043a\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u043c. <\/figcaption><\/figure>\n<p>\u0410 \u0432 \u0441\u0432\u0435\u0442\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0437\u043d\u0430\u0435\u0442 python \u0438 \u043f\u0438\u0445\u0430\u044e\u0442 \u0435\u0433\u043e \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u043a\u0443\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f. \u0420\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u043d\u0430 python.<\/p>\n<hr\/>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0430 \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u043b\u0438 \u0435\u0433\u043e \u043a\u0442\u043e-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043d\u0430\u0447\u0430\u043b \u043f\u043e\u0438\u0441\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435. \u0422\u043e \u043b\u0438 \u044f \u043f\u043b\u043e\u0445\u043e \u0438\u0441\u043a\u0430\u043b, \u0442\u043e \u043b\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0441\u043e\u0431\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043d\u043e \u043d\u0430\u0448\u0435\u043b \u0442\u043e\u043b\u044c\u043a\u043e <a href=\"https:\/\/habr.com\/ru\/post\/495324\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 <\/a>(\u044d\u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 <a href=\"https:\/\/github.com\/empenoso\/MOEX-Random-Picker\" rel=\"noopener noreferrer nofollow\">GitHab<\/a>) \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 @<a class=\"mention\" href=\"\/users\/empenoso\">@empenoso<\/a>. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 JS \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043a\u0446\u0438\u0438 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439, \u043d\u043e \u0438 \u0441 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438, \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043c\u0438\u043c\u043e \u0430\u043a\u0446\u0438\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u044b \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u0430 \u0435\u0449\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043b\u0438\u043c\u0438\u0442 \u043f\u043e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0430\u043a\u0442\u0438\u0432\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431\u0438\u043b\u0438\u0435\u043c \u043a\u043e\u0434\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0443 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0439 \u043a\u043b\u0430\u0441\u0441\u0430. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0432\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u0441\u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u0434 \u0446\u0435\u043b\u0438\u043a\u043e\u0432 \u0432 GitHub-\u0435<\/a>.<\/p>\n<p>\u041f\u043e \u043d\u0430\u0447\u0430\u043b\u0443 \u0438\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<blockquote>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0441\u044f\u0446 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0443  3000\u0440\u0443\u0431 (\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 10% \u043e\u0442 \u043c\u0435\u0434\u0438\u0430\u043d\u043d\u043e\u0439 \u0417\u041f \u043f\u043e \u0420\u043e\u0441\u0441\u0438\u0438). \u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 &#171;\u0414\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c\\\u041f\u043e\u0442\u0435\u0440\u0438&#187; \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0444\u043e\u043d\u0434\u0430\u043c\u0438<\/p>\n<\/blockquote>\n<p>\u0427\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u043e\u0442 \u0438\u0434\u0435\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u0438\u0431\u043e \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043e\u043a \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u044b\u043d\u043e\u043a \u041c\u0411, \u0447\u0442\u043e \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0440\u0430\u0439\u043d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u0434\u0430 \u0438 \u043e\u043d \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f&#8230; \u043d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d. \u0410 \u0435\u0449\u0435, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0440\u0438\u043f\u0442\u0443 (\u0434\u0430, \u0432\u0440\u0435\u043c\u044f \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e \u043b\u0443\u0447\u0448\u0435\u0435). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u044f \u043f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041d\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a. \u0414\u0430 \u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u0443\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d.<\/p>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043a\u043e\u0434\u0430. <\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/h3>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430, \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e. \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0430 &#8212; \u0442\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043f\u043b\u043e\u0445\u043e\u0439 \u0438 \u043a\u0440\u0430\u0439\u043d\u0435 \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u044b\u0439 <a href=\"https:\/\/iss.moex.com\/iss\/reference\/\" rel=\"noopener noreferrer nofollow\">API<\/a> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0431\u0438\u0440\u0436\u0438, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u043d\u043e\u043d\u0441\u0435\u043d\u0441, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0440\u0436\u0438, \u043f\u043e \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043f\u043b\u0430\u0442\u0443 \u0437\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u041c\u0435\u043d\u044f \u043d\u0430 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0438 4 \u0432\u0438\u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0430: \u0430\u043a\u0446\u0438\u0438, <abbr title=\"\u041f\u0430\u0435\u0432\u044b\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u043e\u043d\u0434\u044b\" type=\"abbr\">\u041f\u0418\u0424\u044b<\/abbr>, <abbr title=\"\u041e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0444\u0435\u0434\u0435\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u0439\u043c\u0430\" type=\"abbr\">\u041e\u0424\u0417<\/abbr>, \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438. \u0418\u0445 \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0438\u0437 <abbr title=\"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u0431\u0438\u0440\u0436\u0430\" type=\"abbr\">\u041c\u0411<\/abbr> \u0438 \u043a\u043b\u0430\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0438\u0434 \u0430\u043a\u0442\u0438\u0432\u0430 \u0432 \u043e\u0442\u0435\u043b\u044c\u043d\u044b\u0439 JSON \u0444\u0430\u0439\u043b.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">import asyncio import json import config import requests  # \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 API url_shares = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities.json?first=350' url_bpif = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQTD\/securities.json?first=500' url_ofz = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/bonds\/boards\/TQOB\/securities.json?first=200' url_bonds = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/bonds\/boards\/TQCB\/securities.json?first=3000'   async def _download_stock_market_data(url, file_path): \u00a0\u00a0\u00a0with requests.get(url) as response: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if response.status_code == 200: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with open(file_path, 'w') as file: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0json.dump(response.json(), file)   async def download_data(): \u00a0\u00a0\u00a0await asyncio.gather( \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_ofz, config.ofz_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_bonds, config.bonds_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_bpif, config.bpif_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_shares, config.stocks_file), \u00a0\u00a0\u00a0) <\/code><\/pre>\n<p>\u0412 <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\/blob\/main\/config.py\" rel=\"noopener noreferrer nofollow\">config.py<\/a> \u043b\u0435\u0436\u0430\u0442 \u043f\u0443\u0442\u0438 \u043a \u0440\u0430\u0437\u043d\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<\/div>\n<\/details>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u043e! \u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u041c\u0411 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c. (\u0418 \u0435\u0441\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u043e \u0442\u043e \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442.\u00a0 \u041d\u043e \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0434\u0435\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u043b\u0443\u0447\u0448\u0435\u0435 \u0438\u00a0 \u0432\u0435\u0440\u0438\u0442\u044c \u0432 \u0442\u043e, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u0432\u0441\u0435\u043c &#171;<abbr title=\"\u043d\u0435\u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\" type=\"abbr\">\u043d\u0435\u043a\u0432\u0430\u043b\u0430\u043c<\/abbr>&#187; \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u0442\u043e\u0440\u0433\u043e\u0432\u0430\u0442\u044c \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u044b\u043c\u0438\u00a0 \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u043c\u0438.).<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u043a\u043e\u0441\u0442\u044b\u043b\u0438. \u0414\u0430, \u0432\u0435\u0440\u043d\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u044b \u0441 <abbr title=\"\u0441\u0430\u043d\u043a\u0442 \u043f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u0430\u044f \u0431\u0438\u0440\u0436\u0430\" type=\"abbr\">\u0421\u041f\u0411<\/abbr>. \u0410\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e\u0433\u043e API, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043e\u0442\u0434\u0430\u0432\u0430\u043b \u0431\u044b \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0432\u0438\u0434\u0438\u043c\u043e \u0435\u0433\u043e \u0438 \u043d\u0435\u0442. \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c\u0438 API, \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u043e\u0432, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c <a href=\"https:\/\/www.tinkoff.ru\/invest\/open-api\/\" rel=\"noopener noreferrer nofollow\">\u0422\u0438\u043d\u043a\u043e\u0444\u0444\u0441\u043a\u0438\u043c API<\/a>. \u0412\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043d\u0438\u0445, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443\u2026 \u043a\u0430\u043a \u0431\u044b \u044d\u0442\u043e \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0431\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e\u2026 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u0438, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0438 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/selenium-python.readthedocs.io\/\" rel=\"noopener noreferrer nofollow\">selenium<\/a>. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043d\u0430\u0448\u0435\u043b, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 &#8212; \u044d\u0442\u043e <a href=\"https:\/\/spbexchange.ru\/ru\/stocks\/inostrannye\/Instruments.aspx\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u0431\u043b\u0438\u0446\u0430<\/a> \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 CSV. \u0422\u0430\u043a \u0447\u0442\u043e, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0446\u0438\u0432\u0438\u043b\u044c\u043d\u044b\u043c requests, \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u043e\u0442\u043b\u0438\u043d\u0433\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u0443\u0441\u043f\u0435\u0445\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u043a\u043e\u0441\u0442\u044b\u043b\u0438.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from webdriver_manager.chrome import ChromeDriverManager   import config      # \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 def latest_download_file():       path_download = config.path_file \/ 'spb_data'          os.chdir(path_download)       files = sorted(os.listdir(os.getcwd()), key=os.path.getmtime)          if files:           newest = files[-1]           return newest       else:           raise Exception('dir is empty')         async def download_data():       url_spb = 'https:\/\/spbexchange.ru\/ru\/stocks\/inostrannye\/Instruments.aspx?csv=download'       with requests.get(url_spb, allow_redirects=True) as r:           # \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u043e\u043c\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c         if r.status_code == 200:               with open(config.spb_file, 'wb') as f:                   f.write(r.content)           else:         # \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440               option = webdriver.ChromeOptions()                  prefs = {\"download.default_directory\": str(config.path_file \/ 'spb_data')}               option.add_experimental_option('prefs', prefs)                  driver = webdriver.Chrome(ChromeDriverManager().install(), options=option)               driver.get(url_spb)               time.sleep(5)               driver.close()                  file = latest_download_file()                  if pathlib.Path(file).suffix == '.csv':                   os.renames(file, 'SPB.csv') <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0421\u041f\u0411. \u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0442\u0443\u0442 \u0432\u0441\u0435 \u0432 \u043a\u0443\u0447\u0435, \u0438 \u0430\u043a\u0446\u0438\u0438 \u0438 \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0434\u043d\u0435\u0435.<\/p>\n<h3>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u044b\u0447\u043b\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u043e\u0439 \u043d\u0430\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0441 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438. \u0422\u0443\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 json \u0444\u0430\u0439\u043b\u044b \u0432 \u0431\u0430\u0437\u0443 \u0437\u043d\u0430\u043d\u0438\u0439. \u042f \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u0440\u0430\u0437\u0443\u043c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0430 2 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0430\u043a\u0446\u0438\u0438 \u0438 \u041f\u0418\u0424-\u044b, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0441\u0435 \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u041e\u0424\u0417. \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/pandas.pydata.org\/\" rel=\"noopener noreferrer nofollow\">pandas<\/a>. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c 2 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438\u0437 json \u0432 \u043e\u0434\u043d\u0443, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0445 \u0443\u043a\u043e\u0440\u043e\u0442\u0438\u0442\u044c, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435. \u042f \u0432\u044b\u0431\u0440\u0430\u043b 5 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432: <abbr title=\"\u0422\u0438\u043a\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u0430\" type=\"abbr\">SECID<\/abbr>, <abbr title=\"\u041f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435\" type=\"abbr\">SECNAME<\/abbr>, <abbr title=\"\u0411\u0438\u0440\u0436\u0435\u0432\u043e\u0439 \u0438\u043d\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\" type=\"abbr\">ISIN<\/abbr>, <abbr title=\"\u0421\u043e\u0438\u043c\u043e\u0441\u0442\u044c\" type=\"abbr\">PREVPRICE<\/abbr>, <abbr title=\"\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u043e\u0440\u043e\u0433\u043e\u0432\" type=\"abbr\">BOARDID<\/abbr>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 json \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">@staticmethod   def _get_short_table(json_dict: dict) -> pandas.DataFrame:       \"\"\"       \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u043a\u043e\u0440\u043e\u0447\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438            Parameters:         json_dict (dict): json \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b     \"\"\"        data = json_dict['securities']['data']       columns = json_dict['securities']['metadata']          df = pandas.DataFrame(data=data, columns=columns)          short_table = df[['SECID', 'SECNAME', 'ISIN', 'PREVPRICE', 'BOARDID']]       return short_table      def _get_mb_stock_exchange(self):       \"\"\"       \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 json     \"\"\"      # open JSON       for file_name in [config.stocks_file, config.bpif_file,                         config.ofz_file, config.bonds_file]:           self.file_exist(file_name, msbd)          with open(config.stocks_file, 'r') as file:           shares_json = json.load(file)          with open(config.bpif_file, 'r') as file:           bpif_json = json.load(file)          with open(config.ofz_file, 'r') as file:           ofz_json = json.load(file)          with open(config.bonds_file, 'r') as file:           bonds_json = json.load(file)          # \u0410\u043a\u0446\u0438\u0438 \u0438 \u043f\u0438\u0444\u044b       self.main_table_stocks_ru = pandas.concat([self._get_short_table(shares_json),                                                  self._get_short_table(bpif_json)],                                                 ignore_index=True)          # \u041e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u041e\u0424\u0417       self.main_table_bonds_ru = pandas.concat([self._get_short_table(ofz_json),                                                 self._get_short_table(bonds_json)],                                               ignore_index=True) <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c 2 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u041c\u0411. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0421\u041f\u0411. \u0422\u0443\u0442 \u0432\u0441\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0449\u0435, \u0438\u0431\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u043d\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0430\u043a\u0446\u0438\u044f\u043c\u0438. \u041f\u043e\u0447\u0435\u043c\u0443 \u044f \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044e \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u0421\u041f\u0411? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0435 \u0442\u043e\u0440\u0433\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0431\u0438\u0440\u0436\u0430\u0445, \u0434\u0430 \u0447\u0442\u043e \u0443\u0436 \u0442\u0430\u043c \u043d\u0430 \u0431\u0438\u0440\u0436\u0430\u0445, \u0434\u0430\u0436\u0435 \u043d\u0430 <a href=\"https:\/\/www.investing.com\/\" rel=\"noopener noreferrer nofollow\">Investing<\/a> \u0438 <a href=\"https:\/\/finance.yahoo.com\/\" rel=\"noopener noreferrer nofollow\">Yahoo Finance<\/a> \u0438\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438. \u041d\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d, \u0438 \u043a\u043e\u043c\u0443 \u043e\u043d \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0421\u041f\u0411 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e\u0433\u043e \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <code>choice()<\/code>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0421\u041f\u0411<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">def _get_spb_stock_exchange(self):       \"\"\"       \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438    \"\"\"    self.file_exist(config.spb_file, spbd)          spb_table = pandas.read_csv(config.spb_file, sep=';')          # \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 e_full_name       # \u043a\u043e\u0434 s_RTS_code    # \u0438\u0441_\u043a\u043e\u0434 s_ISIN_code    # \u0432\u0438\u0434 \u0430\u043a\u0442\u0438\u0432\u0430 s_sec_type_name_dop    spb_table = spb_table[['s_RTS_code', 's_ISIN_code', 'e_full_name', 's_sec_type_name_dop']]       spb_table.rename(columns={'s_RTS_code': 'SECID', 'e_full_name': 'SECNAME', 's_ISIN_code': 'ISIN'}, inplace=True)          # \u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u043e \u0432\u0438\u0434\u0443 \u0430\u043a\u0442\u0438\u0432\u0430 (\u0430\u043a\u0446\u0438\u0438, \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438)       spb_table_stock = spb_table[(spb_table.s_sec_type_name_dop == '\u0410\u043a\u0446\u0438\u0438')]       self.spb_table_stock = spb_table_stock[['SECID', 'SECNAME', 'ISIN']]          # spb_table_bond = spb_table[(spb_table.s_sec_type_name_dop == '\u041e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438')]       # self.spb_table_bond = spb_table_bond[['SECID', 'SECNAME', 'ISIN']] <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u043e. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0439 \u0430\u043a\u0442\u0438\u0432 \u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<h3>\u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u044b\u0431\u043e\u0440<\/h3>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0432\u044b\u0431\u043e\u0440\u0443.<br \/>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0432\u0438\u0434\u043e\u043c \u0430\u043a\u0442\u0438\u0432\u0430: \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043a\u0446\u0438\u044e \u0438\u043b\u0438 \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u044e. \u0417\u0430\u0442\u0435\u043c \u0440\u0435\u0448\u0438\u0442\u044c \u0441 \u043a\u0430\u043a\u043e\u0439 \u0438\u0437 \u0431\u0438\u0440\u0436 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432. \u0418 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0439 \u0430\u043a\u0442\u0438\u0432, \u0438\u0437 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0448\u0430\u0433\u0430\u0445.<\/p>\n<details class=\"spoiler\">\n<summary>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u0441\u044f \u0441 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438 \u0432\u044b\u0431\u043e\u0440\u0430  \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0430\u043a\u0442\u0438\u0432<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">def choice(self):       \"\"\"       \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u0430 \u0438 \u0431\u0438\u0440\u0436\u0438 \u0441 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430     \"\"\"         match self.asset:           # \u0412\u044b\u0431\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u0430           case 'stock':               # \u0432\u044b\u0431\u043e\u0440 \u0431\u0438\u0440\u0436\u0438               if ('MB' in self.stock_market) &amp; ('SPB' in self.stock_market):                   self.choice_table = pandas.concat([self.spb_table_stock,                                                      self.main_table_stocks_ru],                                                     ignore_index=True).sample().values[0]               elif 'MB' in self.stock_market:                   self.choice_table = self.main_table_stocks_ru.sample().values[0]               elif 'SPB' in self.stock_market:                   self.choice_table = self.spb_table_stock.sample().values[0]               else:                   print(\"O no. You didn't choose any stock market\")                   raise Exception('stock market not chosen')              case 'bond':               if ('MB' in self.stock_market) &amp; ('SPB' in self.stock_market):                   self.choice_table = self.main_table_bonds_ru.sample().values[0]               elif 'MB' in self.stock_market:                   self.choice_table = self.main_table_bonds_ru.sample().values[0]               elif 'SPB' in self.stock_market:                   raise Exception('At the moment you cannot use bonds from the St. Petersburg Stock Exchange')               else:                   print(\"O no. You didn't choose any stock market\")                   raise Exception('stock market not chosen')           case _:               raise Exception('incorrect asset name')          # \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430       self.asset_choice = self.choice_obj(self.choice_table) <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0430\u043a\u0442\u0438\u0432 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435. \u0411\u0435\u0440\u0435\u043c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c. \u0412 \u043a\u043e\u043d\u0446\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0442\u0430\u043a \u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432\u044b\u0431\u043e\u0440 \u043f\u043e \u043b\u0438\u043c\u0438\u0442\u0443, \u0435\u0441\u043b\u0438 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0430\u043a\u0446\u0438\u0438 \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0432\u044b\u0448\u0435 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u043b\u0438\u043c\u0438\u0442\u0430, \u0442\u043e \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440 \u043f\u043e\u043a\u0430 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0430\u043a\u0446\u0438\u0438 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0442\u044c \u0443\u0441\u043b\u043e\u0432\u0438\u044e. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043b\u0438\u043c\u0438\u0442\u0430 \u043d\u0435\u0442, \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f. \u0412\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u043d\u0438\u0438 \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u0438 \u0434\u043e\u043b\u0433\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043b\u0438\u043c\u0438\u0442 \u043d\u0438\u0436\u0435 <strong>300\u0440\u0443\u0431<\/strong>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">def choice_obj(self, data: list) -> dict:       \"\"\"       \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430       Parameters:               data (list): \u0414\u0430\u043d\u043d\u044b\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430       Returns:       return (dict): \u0421\u043b\u043e\u0432\u0430\u0440\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445     \"\"\"     try:           data_nan = math.isnan(data[3])       except IndexError:           data_nan = True          if data_nan:           price = self._get_current_price(data[0])           price_str = f'({price[\"stock_current_prise\"]} {price[\"currency\"]}) {price[\"rub_prise\"]:.{2}f} \u0440\u0443\u0431.'        price_ru = price[\"rub_prise\"]           price_increase = price[\"price_increase\"]       else:           price = data[3]           price_ru = data[3]           price_str = f'{data[3]} \u0440\u0443\u0431.'        price_increase = self.percentage_change(price_ru, data[0], data[4])          quantity = 1       if self.limit:           if self.limit >= price_ru:               int_div = int(self.limit \/\/ price_ru) + 1               quantity = random.choice(range(1, int_div))       return {           'sec_id': data[0],           'full_name': data[1],           'isn': data[2],           'price': price,           'price_str': price_str,           'price_ru': price_ru,           'quantity': quantity,           'price_increase': price_increase       } <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043a\u0446\u0438\u0438 \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043d\u044e\u0430\u043d\u0441, \u0443 \u0430\u043a\u0446\u0438\u0439 \u0441 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438 \u043d\u0435\u0442 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0435\u0451 \u043d\u0430\u0439\u0442\u0438. \u0417\u0430\u0434\u0430\u0447\u0430 \u0438\u043c\u0435\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u042f \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 <a href=\"https:\/\/github.com\/ranaroussi\/yfinance\" rel=\"noopener noreferrer nofollow\">API \u0434\u043b\u044f Yahoo! Finance<\/a>. \u042d\u0442\u043e\u0442 API \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c, \u0438 \u0430\u0432\u0442\u043e\u0440 \u043d\u0435 \u0440\u0430\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445 \u043d\u0435 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u0441\u0430\u043c\u0438\u043c Yahoo. \u0414\u0430\u043d\u043d\u044b\u0439 API \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435, \u0447\u0442\u043e \u044f \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438. \u0415\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 API, \u043d\u043e \u0443 \u043d\u0438\u0445, \u0432 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445, \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e \u0432\u0441\u044f\u043a\u0438\u0445 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431 \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043a\u0446\u0438\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">def _get_current_price(self, sec_id_choice: str) -> dict:       \"\"\"       \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0446\u0435\u043d\u044b \u0430\u043a\u0442\u0438\u0432\u0430 \u0441 \u0421\u041f\u0411       Parameters:       sec_id_choice(str): \u0422\u0438\u043a\u0435\u0440 \u0430\u043a\u0442\u0438\u0432\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430     Returns:       info(dict): \u0421\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0430\u043a\u0442\u0438\u0432\u0430:         stock_current_prise - \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0432\u0430\u043b\u044e\u0442\u0435         currency - \u0432\u0430\u043b\u044e\u0442\u0430                     rub_prise - \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0440\u0443\u0431\u043b\u044f\u0445         price_increase - \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0446\u0435\u043d\u044b \u0437\u0430 \u043c\u0435\u0441\u044f\u0446 \u0432 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430\u0445     \"\"\"         msft = yf.Ticker(sec_id_choice)       try:           stock_current_prise = msft.info['currentPrice']           currency = msft.info['financialCurrency']           dollar_prise = self._get_currency_price(currency)           rub_prise = stock_current_prise * dollar_prise              hist = msft.history(period=\"1mo\")           open_1mo = hist['Open'][0]           price_increase = (stock_current_prise - open_1mo) \/ open_1mo * 100              return {'stock_current_prise': stock_current_prise,                   'currency': currency,                   'rub_prise': rub_prise,                   'price_increase': price_increase}       except KeyError as er:           if msft.info['regularMarketPrice'] is None:               print('f')               self.choice()           Exception(er) <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0446\u0435\u043d\u044b \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430, \u043c\u044b \u0442\u0443\u0442 \u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0438\u0437 \u0432\u0430\u043b\u044e\u0442\u044b \u0432 \u0440\u0443\u0431\u043b\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c, \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439, \u043d\u0430\u0434\u043e \u0437\u043d\u0430\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u0435 \u0442\u043e\u0440\u0433\u0443\u0435\u0442\u0441\u044f \u0430\u043a\u0446\u0438\u044f \u0438 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u044b \u043a \u0440\u0443\u0431\u043b\u044e. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0432\u0430\u043b\u044e\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0437 API \u0434\u043b\u044f Yahoo! Finance. \u0410 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u044b \u043a \u0440\u0443\u0431\u043b\u044e \u0441 <a href=\"https:\/\/www.cbr-xml-daily.ru\/\" rel=\"noopener noreferrer nofollow\">\u0441\u0430\u0439\u0442\u0430 \u043a\u0443\u0440\u0441\u0430 \u0432\u0430\u043b\u044e\u0442<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u044b \u0432 \u0440\u0443\u0431\u043b\u044f\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">@staticmethod   def _get_currency_price(currency: str) -> str:       \"\"\"       \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0447\u0435\u0433\u043e \u043a\u0443\u0440\u0441\u0430 \u0440\u0443\u0431\u043b\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0430\u043b\u044e\u0442\u044b.       Parameters:       currency(str): \u0412\u0430\u043b\u044e\u0442\u0430 \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 \u043a\u0443\u0440\u0441.         Returns:               all_currencies(str): \u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u044b \u0432 \u0440\u0443\u0431\u043b\u044f\u0445     \"\"\"         all_currencies = requests.get('https:\/\/www.cbr-xml-daily.ru\/daily_json.js').json()       return all_currencies['Valute'][currency]['Value'] <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h3>\u0412\u044b\u0432\u043e\u0434 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<\/p>\n<details class=\"spoiler\">\n<summary>\u0412\u044b\u0432\u043e\u0434 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\"> @property       def inform(self) -> str:           \"\"\"           \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430                 Returns:                       (str) \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438                 \"\"\"                 return f'''   \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u043e: {self.asset_choice['sec_id']}   \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435: {self.asset_choice['full_name']}   \u0446\u0435\u043d\u0430: {self.asset_choice['price_str']}   \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e: {self.asset_choice['quantity']}   \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446: {self.asset_choice['price_increase']:.{2}f} %isn: {self.asset_choice['isn']}   '''       def print_asset(self):           \"\"\"           \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0441 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c                 \"\"\"                 print(f'''   {'-' * 60}   {self.inform}   {'-' * 28}   {self.date_create}   {'-' * 60}   ''')  <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <code>crate_img()<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0441 \u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e\u0431 \u0430\u043a\u0442\u0438\u0432\u0435, \u0435\u0433\u043e \u044f \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u0438\u0431\u043e \u0438 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0430 \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442. \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c, \u0438\u0431\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u043e\u043b\u0443\u0447\u0435\u043d.<\/p>\n<hr\/>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>\u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u0432\u0435\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0443\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c &#171;\u043d\u0435\u043a\u0430\u0437\u0438\u0441\u0442\u043e\u043c&#187; \u043a\u043b\u0430\u0441\u0441\u0435.<br \/> \u0427\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043d\u0430 \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u043c \u0431\u0438\u0440\u0436\u0435\u0432\u043e\u043c \u0440\u044b\u043d\u043a\u0435<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044e \u0432\u0441\u0435 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0438\u0445\u0430\u043d\u043e \u0432 Docker<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0411\u0414<\/p>\n<\/li>\n<li>\n<p>\u0412 docker \u0441\u043e\u0437\u0434\u0430\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u043e\u0434 selenium<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0431\u043e\u0442<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0432\u043e\u0434 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 \u0430\u043a\u0442\u0438\u0432\u0435: <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/b4e\/f87\/3dc\/b4ef873dc6e2a490ebcad0eb401fb04f.jpeg\" width=\"1040\" height=\"560\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b4e\/f87\/3dc\/b4ef873dc6e2a490ebcad0eb401fb04f.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<ul>\n<li>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043f\u0438\u043d\u043a\u0430 \u0434\u0440\u0443\u0433\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043d:<\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c89\/fa4\/72c\/c89fa472ca6b2c6ca4a0004c0bcc89bf.png\" width=\"950\" height=\"1150\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c89\/fa4\/72c\/c89fa472ca6b2c6ca4a0004c0bcc89bf.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<p><a class=\"anchor\" name=\"money\" id=\"money\"><\/a><\/p>\n<h3>\u0410 \u0447\u0442\u043e \u0442\u0430\u043c \u0441 \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438?<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u0432\u0435\u0447\u0430\u044e \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0443\u043d\u043a\u0442, \u043d\u0443 \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u0438. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0442\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u0434, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0431\u0443\u043c\u0430\u0433 \u0421\u041f\u0411 \u0431\u044b\u043b\u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438 &#171;\u043d\u0435\u043a\u0432\u0430\u043b\u0430\u043c&#187; (\u0410 \u0437\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0438 \u0441\u0435\u0441\u0442\u044c), \u0447\u0442\u043e \u0433\u0440\u0443\u0441\u0442\u043d\u043e, \u0438 \u043f\u043e \u0441\u0443\u0442\u0438 \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0430\u0435\u0442 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u043e \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443 \u0434\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443. \u042d\u0442\u043e \u0430\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u043a\u0443\u043f\u043b\u0435\u043d\u044b, \u043d\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u043e \u0432\u0430\u043b\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0434\u0435\u043d\u044c\u0433\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0431\u0440\u043e\u043a\u0435\u0440\u0441\u043a\u043e\u043c \u0441\u0447\u0435\u0442\u0435, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430\/\u0431\u043e\u0442\u0430, &#171;\u0440\u0430\u0434\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0430&#187;, \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u043f\u043e \u0435\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u043d\u0430 <strong>16.11.2022<\/strong><\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th data-colwidth=\"50\" width=\"50\">\n<p>\u2116<\/p>\n<\/th>\n<th>\n<p>\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435<\/p>\n<\/th>\n<th>\n<p>\u0434\u0430\u0442\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0438<\/p>\n<\/th>\n<th>\n<p>\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e (\u0448\u0442)<\/p>\n<\/th>\n<th>\n<p>\u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u043e\u0434\u043d\u043e\u0439 \u0430\u043a\u0446\u0438\u0438<\/p>\n<\/th>\n<th>\n<p>\u043f\u0440\u0438\u0431\u044b\u043b\u044c \u0432%<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">United Medical Grou<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.10.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">2<\/p>\n<\/td>\n<td>\n<p align=\"left\">332,7\u20bd<\/p>\n<\/td>\n<td>\n<p align=\"left\">2,64%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">2<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0413\u041a \u0421\u0430\u043c\u043e\u043b\u0435\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.10.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">1975,5\u20bd<\/p>\n<\/td>\n<td>\n<p align=\"left\">32,86%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">3<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rosseti Tsentr PAO<\/p>\n<\/td>\n<td>\n<p align=\"left\">12.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1000<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,2666\u20bd<\/p>\n<\/td>\n<td>\n<p align=\"left\">3,60%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">4<\/p>\n<\/td>\n<td>\n<p align=\"left\">Solid Biosciences<\/p>\n<\/td>\n<td>\n<p align=\"left\">12.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">$10,04<\/p>\n<\/td>\n<td>\n<p align=\"left\">-34.16%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">5<\/p>\n<\/td>\n<td>\n<p align=\"left\">Tactile Systems<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">$8,36<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.71%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">6<\/p>\n<\/td>\n<td>\n<p align=\"left\">iRobot<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">$58,89<\/p>\n<\/td>\n<td>\n<p align=\"left\">-10,86%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">7<\/p>\n<\/td>\n<td>\n<p align=\"left\">PetIQ<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">$10,28<\/p>\n<\/td>\n<td>\n<p align=\"left\">12,93%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">8<\/p>\n<\/td>\n<td>\n<p align=\"left\">Gap<\/p>\n<\/td>\n<td>\n<p align=\"left\">07.09.2022<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">$9,17<\/p>\n<\/td>\n<td>\n<p align=\"left\">39,69%<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u0437\u0430 \u043f\u0430\u0440\u0443 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u044b \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 <strong>8826,15\u20bd<\/strong> (\u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043e\u043c\u0438\u0441\u0441\u0438\u0438), <abbr title=\"P&amp;L (Profit and loss statement), \u0438\u043b\u0438 PNL, \u2014 \u043e\u0442\u0447\u0451\u0442, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u0431\u044b\u043b\u044c \u0438 \u0443\u0431\u044b\u0442\u043a\u0438 \u0437\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434\" type=\"abbr\">P\/L<\/abbr> \u043f\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044e \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 <strong>$6,42 \/ 4,43%<\/strong> \u0438 \u0432 \u0440\u0443\u0431\u043b\u044f\u0445 <strong>387,84 \u0440\u0443\u0431. \/ 4,43%<\/strong>. \u0414\u043b\u044f \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439. \u041d\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043d\u0430\u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u044b \u0430\u043a\u0446\u0438\u0439 \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u043a\u0443\u043f\u0438\u0442\u044c, \u0438 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0442\u0430\u043a \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u043b\u0438\u044f\u044e\u0442 &#171;\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f&#187; \u0420\u0424. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0431\u044b\u043b\u0438 \u043d\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u043d\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f. \u0412-\u0442\u0440\u0435\u0442\u044c\u0438\u0445, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u043e\u043b \u0433\u043e\u0434\u0430 (\u0430 \u043b\u0443\u0447\u0448\u0435 \u0431\u043e\u043b\u044c\u0448\u0435), \u0447\u0442\u043e \u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u0442\u0430\u043b \u0432\u0438\u0434\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u043e\u0442\u0447\u0435\u0442\u043b\u0438\u0432\u043e..<\/p>\n<p>P.S: \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u0438 \u0438 \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u0438\u044f. \u0421\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0435\u0449\u0435 \u0433\u0434\u0435-\u0442\u043e \u043c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434 (\u0441\u0435\u0433\u043e\u0434\u043d\u044f 16.11.2022). \u041d\u043e \u044f \u0441\u0442\u0430\u043b \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c &#171;\u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u0447\u0438\u043a\u043e\u043c&#187; \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0438\u0434\u0435\u044f. \u0418\u0431\u043e \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u043f\u043e\u043a\u0430 \u044f \u043f\u0438\u0441\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e, \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e. \u0410 \u0432\u043e\u0442 \u043c\u043e\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u0438\u0434\u0430\u0442\u044c \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e localStorage \u0435\u043c\u0443 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b&#8230;. \u043a\u0430\u043a \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u043c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u044f \u043b\u0435\u0436\u0430\u0432\u0448\u0430\u044f \u0442\u0430\u043c. \u0418 \u0432 \u043e\u0434\u0438\u043d &#171;\u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439&#187; \u0434\u0435\u043d\u044c \u044f \u0441 \u0433\u0440\u0443\u0441\u0442\u044c\u044e \u0438 \u0434\u043e\u0441\u0430\u0434\u043e\u0439 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438 &#171;\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c&#187; \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442, \u0432\u0441\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u043e. \u0422\u0430\u043a \u0447\u0442\u043e \u044f \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441 \u043d\u0443\u043b\u044f, \u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0431\u044b\u043b\u043e \u043e\u043e\u0447\u0435\u043d\u044c \u0442\u044f\u0436\u0435\u043b\u043e, \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0432 \u0434\u0435\u043d\u044c. \u0410 \u043f\u043e\u0442\u043e\u043c \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 <a href=\"https:\/\/obsidian.md\/\" rel=\"noopener noreferrer nofollow\">Obsidian<\/a> \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f, \u0447\u0442\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u043e.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/700660\/\"> https:\/\/habr.com\/ru\/articles\/700660\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><strong>\u041e \u0447\u0435\u043c \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f<\/strong>: \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0438 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436 \u043d\u0430 Python.<\/p>\n<p>\u041a\u043e\u043c\u0443 \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u043e \u0432\u043e\u0442 <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\" rel=\"noopener noreferrer nofollow\">\u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434<\/a> \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u043f\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0443. \u041d\u0443 \u0438\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a href=\"https:\/\/t.me\/CrazyInvestBot\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0431\u043e\u0442\u043e\u043c<\/a> \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0433\u043e, \u043d\u043e \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (\u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 ?). \u0410 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 <a href=\"#money\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0442\u043e\u0433\u043e\u0432<\/a>.<\/p>\n<hr\/>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u0441 \u201c\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u2026?\u201d, \u043c\u043e\u044f \u0438\u0434\u0435\u044f \u043d\u0435 \u043d\u043e\u0432\u0430 \u0438 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u201c\u043a\u043b\u0430\u0441\u0441\u043d\u043e\u0441\u0442\u044c\u201d. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435, \u0430 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u0434\u043b\u044f \u0430\u043a\u0446\u0438\u0439 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u0440\u044b\u043d\u043a\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430 \u043d\u0435\u043c \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0434\u043e\u043b\u0433\u0443\u044e?<\/p>\n<p>\u0427\u0442\u043e \u0436\u0435, \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u201c\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u2026\u201d \u044f \u0438 \u043e\u0442\u0432\u0435\u0447\u0443 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u0410 \u0432\u043e\u0442 \u043f\u0440\u043e &#171;\u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c&#187;&#8230; \u0442\u0443\u0442\u00a0 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u043e \u043e\u0431\u043e \u0432\u0441\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443.<\/p>\n<p><strong>\u041f\u043e\u0436\u0430\u043b\u0443\u0439, \u043d\u0430\u0447\u0430\u0442\u044c \u043d\u0430\u0434\u043e \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0435\u0439. \u0423 \u043c\u0435\u043d\u044f \u043d\u0435\u0442 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0431\u043e\u0433\u0430\u0442\u043e\u0433\u043e \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u043e\u043f\u044b\u0442\u0430. \u0412\u0441\u0435 \u0447\u0442\u043e \u0432\u044b \u043f\u0440\u043e\u0447\u0442\u0435\u0442\u0435 \u0434\u0430\u043b\u0435\u0435 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043c\u043e\u0438\u0445 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u043c\u043d\u0435\u043d\u0438\u0438. \u0418 \u043f\u043e\u043c\u043d\u0438\u0442\u0435: \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043e\u043f\u0440\u044f\u0436\u0435\u043d\u043d\u044b\u0439 \u0441 \u0440\u0438\u0441\u043a\u043e\u043c.<\/strong><\/p>\n<hr\/>\n<h2>\u041d\u0430\u0447\u0430\u043b\u043e \u043f\u0443\u0442\u0438<\/h2>\n<p>\u0417\u0430\u0439\u0434\u0443 \u0438\u0437\u0434\u0430\u043b\u0435\u043a\u0430. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u044f, \u043a\u0430\u043a \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u043e\u0431\u044b\u0432\u0430\u0442\u0435\u043b\u0438, \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u044f \u0432 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435, \u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u044f \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0433\u043e\u043d\u044f\u043b \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0430 \u0432 &#171;\u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0441\u0442&#187;, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043e\u043f\u044b\u0442. \u0427\u0442\u043e \u0438 \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043a \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044e \u0432\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u0434\u0435\u043d\u0435\u0436\u043d\u043e\u0439 \u0442\u0435\u043c\u044b \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043a\u0443\u0447\u0443 \u0441\u0442\u0430\u0442\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u0441\u044c \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u044b \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 &#171;\u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0445 \u0433\u0443\u0440\u0443&#187;, \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u043e\u043b\u0438\u043a\u043e\u0432 \u0438 \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0439\u0434\u044f \u043d\u0430 &#171;\u041d\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u0438&#187; \u043a\u0443\u0440\u0441\u044b \u0421\u0435\u0440\u0433\u0435\u044f \u0421\u043f\u0438\u0440\u0438\u043d\u0430 (\u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u0434\u044f\u0434\u044c\u043a\u0430 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u043d\u043e) \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043f\u0430\u0433\u0430\u043d\u0434\u0438\u0440\u0443\u0435\u0442 <a href=\"https:\/\/assetallocation.ru\/asset-allocation\/\" rel=\"noopener noreferrer nofollow\">Asset Allocation<\/a>. \u042f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0432\u043b\u0430\u0434\u0435\u0435\u0442 \u0441\u0443\u043f\u0435\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0431\u0438\u0440\u0436\u0438, \u0438 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u043a \u043e\u043d\u043e \u0442\u0430\u043c \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e. \u041f\u043e \u0441\u0443\u0442\u0438, \u043b\u044e\u0434\u0438 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 2 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0438\u0434\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432: \u0442\u0435 \u043a\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442 \u0432 \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u0443\u044e &#171;\u0443\u0433\u0430\u0434\u0430\u0439\u043a\u0443&#187;, \u043f\u043e\u0440\u043e\u0439 \u0434\u0430\u0436\u0435 \u0434\u0438\u0432\u0435\u0440\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044f \u0441\u0432\u043e\u0438 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0438 \u0432 \u043d\u0430\u0434\u0435\u0436\u0434\u0435 \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0438\u0441\u043a\u0438, \u0438 \u043d\u0430 \u0442\u0435\u0445 \u043a\u0442\u043e \u0438\u0433\u0440\u0430\u0435\u0442 &#171;\u043d\u0435\u0447\u0435\u0441\u0442\u043d\u043e&#187; \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u043d\u0430 \u0438\u043d\u0441\u0430\u0439\u0434\u0435\u0440\u0441\u043a\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041f\u0440\u0438\u0447\u0435\u043c \u0436\u0435 \u0442\u0443\u0442 \u0440\u0430\u043d\u0434\u043e\u043c? \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u201c\u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0441\u0442\u0438\u201d \u044f \u043d\u0435 \u0440\u0430\u0437 \u043d\u0430\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u043a\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u043b\u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u0443\u044e \u043f\u0440\u0438\u0431\u044b\u043b\u044c. \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0438\u0445 \u0435\u0441\u0442\u044c \u0443 \u043c\u0435\u043d\u044f:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/vc.ru\/flood\/34471-v-2008-godu-obezyana-naugad-vybrala-akcii-i-za-devyat-let-zarabotala-bolshe-professionalnyh-investorov\" rel=\"noopener noreferrer nofollow\">\u041e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0430 \u041b\u0443\u043a\u0435\u0440\u044c\u044f<\/a> (\u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0441\u0430\u043c\u044b\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u043f\u043e\u0441\u0442\u0441\u043e\u0432\u0435\u0442\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435)<\/p>\n<\/li>\n<li>\n<p>\u0425\u043e\u043c\u044f\u043a \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440 <a href=\"https:\/\/www.bbc.co.uk\/news\/technology-58707641\" rel=\"noopener noreferrer nofollow\">Mr.Goxx<\/a><\/p>\n<\/li>\n<li>\n<p>\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0435 <a href=\"https:\/\/www.businessinsider.com\/forex-and-commodities-rat-traders-2014-9\" rel=\"noopener noreferrer nofollow\">\u043a\u0440\u044b\u0441\u044b \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u044b<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043f\u0443\u0433\u0430\u0439 <a href=\"https:\/\/www.impactlab.com\/2009\/08\/08\/parrot-beats-investors-in-south-korean-stock-market-contest\/\" rel=\"noopener noreferrer nofollow\">Ddalgi<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u0442 <a href=\"https:\/\/www.forbes.com\/sites\/frederickallen\/2013\/01\/15\/cat-beats-professionals-at-stock-picking\/?sh=6414e40f621a\" rel=\"noopener noreferrer nofollow\">\u041e\u0440\u043b\u0430\u043d\u0434\u043e<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e. \u041d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0438\u0445 \u043e\u0434\u043d\u043e (\u0442\u043e\u0447\u043d\u0435\u0435 &#171;\u0434\u0432\u0430&#187;). \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0443 \u0432\u0441\u0435\u0445 \u043a\u0440\u0430\u0439\u043d\u0435 \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0445\u043e\u043c\u044f\u043a\u0430, \u043e\u043d \u0448\u0438\u043a\u0430\u0440\u0435\u043d\u2026 \u0431\u044b\u043b). \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u044d\u0442\u043e \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u044b\u0436\u0438\u0432\u0448\u0435\u0433\u043e.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u0432\u044b\u0448\u0435, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0432\u0435\u0441\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u0440\u044b\u043d\u043e\u043a \u0430\u043a\u0442\u0438\u0432\u043e\u0432 (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e\u0440\u0433\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0435 \u201c<abbr title=\"\u043d\u0435\u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\" type=\"abbr\">\u043d\u0432\u0435\u0441\u0442\u043e\u0440&#187; type=&#187;abbr&#187;>\u043d\u0435\u043a\u0432\u0430\u043b\u0430<\/abbr>\u201d). \u041d\u0443 \u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0435\u0437\u0438\u0441 \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0432 \u0442\u044b\u0441\u044f\u0447\u0438 \u0441\u0434\u0435\u043b\u043e\u043a \u0438 \u0441\u043e\u0437\u0434\u0430\u0432 \u0441\u043e\u0442\u043d\u0438 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435\u0439, \u0447\u0442\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u043e (\u0434\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0432\u0435\u0441\u0435\u043b\u043e).<\/p>\n<p>\u0418 \u0442\u0430\u043a, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041f\u043e \u043d\u0430\u0447\u0430\u043b\u0443, \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043a\u043e\u0448\u0435\u043a \u0434\u0440\u0443\u0433\u0430. \u041d\u043e \u043e\u043d\u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043e\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u201c\u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0438\u201d.<\/p>\n<figure class=\"full-width\"><figcaption> \u0420\u0435\u0430\u043a\u0446\u0438\u044f \u043a\u043e\u0448\u043a\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u043c. <\/figcaption><\/figure>\n<p>\u0410 \u0432 \u0441\u0432\u0435\u0442\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0437\u043d\u0430\u0435\u0442 python \u0438 \u043f\u0438\u0445\u0430\u044e\u0442 \u0435\u0433\u043e \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u043a\u0443\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f. \u0420\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0440\u0430\u043d\u0434\u043e\u043c\u0430\u0439\u0437\u0435\u0440 \u043d\u0430 python.<\/p>\n<hr\/>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0430 \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u043b\u0438 \u0435\u0433\u043e \u043a\u0442\u043e-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043d\u0430\u0447\u0430\u043b \u043f\u043e\u0438\u0441\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435. \u0422\u043e \u043b\u0438 \u044f \u043f\u043b\u043e\u0445\u043e \u0438\u0441\u043a\u0430\u043b, \u0442\u043e \u043b\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0441\u043e\u0431\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043d\u043e \u043d\u0430\u0448\u0435\u043b \u0442\u043e\u043b\u044c\u043a\u043e <a href=\"https:\/\/habr.com\/ru\/post\/495324\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 <\/a>(\u044d\u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 <a href=\"https:\/\/github.com\/empenoso\/MOEX-Random-Picker\" rel=\"noopener noreferrer nofollow\">GitHab<\/a>) \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 @<a class=\"mention\" href=\"\/users\/empenoso\">@empenoso<\/a>. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 JS \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043a\u0446\u0438\u0438 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439, \u043d\u043e \u0438 \u0441 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438, \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043c\u0438\u043c\u043e \u0430\u043a\u0446\u0438\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u044b \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u0430 \u0435\u0449\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043b\u0438\u043c\u0438\u0442 \u043f\u043e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0430\u043a\u0442\u0438\u0432\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0431\u0438\u043b\u0438\u0435\u043c \u043a\u043e\u0434\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0443 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0439 \u043a\u043b\u0430\u0441\u0441\u0430. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0432\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u0441\u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u0434 \u0446\u0435\u043b\u0438\u043a\u043e\u0432 \u0432 GitHub-\u0435<\/a>.<\/p>\n<p>\u041f\u043e \u043d\u0430\u0447\u0430\u043b\u0443 \u0438\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<blockquote>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0441\u044f\u0446 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0443  3000\u0440\u0443\u0431 (\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 10% \u043e\u0442 \u043c\u0435\u0434\u0438\u0430\u043d\u043d\u043e\u0439 \u0417\u041f \u043f\u043e \u0420\u043e\u0441\u0441\u0438\u0438). \u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 &#171;\u0414\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c\\\u041f\u043e\u0442\u0435\u0440\u0438&#187; \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0444\u043e\u043d\u0434\u0430\u043c\u0438<\/p>\n<\/blockquote>\n<p>\u0427\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u043e\u0442 \u0438\u0434\u0435\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u0438\u0431\u043e \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043e\u043a \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u044b\u043d\u043e\u043a \u041c\u0411, \u0447\u0442\u043e \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0440\u0430\u0439\u043d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u0434\u0430 \u0438 \u043e\u043d \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f&#8230; \u043d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d. \u0410 \u0435\u0449\u0435, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0440\u0438\u043f\u0442\u0443 (\u0434\u0430, \u0432\u0440\u0435\u043c\u044f \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e \u043b\u0443\u0447\u0448\u0435\u0435). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u044f \u043f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041d\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a. \u0414\u0430 \u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u0443\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d.<\/p>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043a\u043e\u0434\u0430. <\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/h3>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0430, \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e. \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0430 &#8212; \u0442\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043f\u043b\u043e\u0445\u043e\u0439 \u0438 \u043a\u0440\u0430\u0439\u043d\u0435 \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u044b\u0439 <a href=\"https:\/\/iss.moex.com\/iss\/reference\/\" rel=\"noopener noreferrer nofollow\">API<\/a> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0431\u0438\u0440\u0436\u0438, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u043d\u043e\u043d\u0441\u0435\u043d\u0441, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0440\u0436\u0438, \u043f\u043e \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043f\u043b\u0430\u0442\u0443 \u0437\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u041c\u0435\u043d\u044f \u043d\u0430 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0438 4 \u0432\u0438\u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0430: \u0430\u043a\u0446\u0438\u0438, <abbr title=\"\u041f\u0430\u0435\u0432\u044b\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u043e\u043d\u0434\u044b\" type=\"abbr\"> \u0444\u043e\u043d\u0434\u044b&#187; type=&#187;abbr&#187;>\u041f\u0418\u0424\u044b<\/abbr>, <abbr title=\"\u041e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0444\u0435\u0434\u0435\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u0439\u043c\u0430\" type=\"abbr\">\u043e \u0437\u0430\u0439\u043c\u0430&#187; type=&#187;abbr&#187;>\u041e\u0424<\/abbr>, \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438. \u0418\u0445 \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0438\u0437 <abbr title=\"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u0431\u0438\u0440\u0436\u0430\" type=\"abbr\">\u0430&#187; type=&#187;abbr&#187;>\u041c<\/abbr> \u0438 \u043a\u043b\u0430\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0438\u0434 \u0430\u043a\u0442\u0438\u0432\u0430 \u0432 \u043e\u0442\u0435\u043b\u044c\u043d\u044b\u0439 JSON \u0444\u0430\u0439\u043b.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">import asyncio import json import config import requests  # \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 API url_shares = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities.json?first=350' url_bpif = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQTD\/securities.json?first=500' url_ofz = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/bonds\/boards\/TQOB\/securities.json?first=200' url_bonds = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/bonds\/boards\/TQCB\/securities.json?first=3000'   async def _download_stock_market_data(url, file_path): \u00a0\u00a0\u00a0with requests.get(url) as response: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if response.status_code == 200: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with open(file_path, 'w') as file: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0json.dump(response.json(), file)   async def download_data(): \u00a0\u00a0\u00a0await asyncio.gather( \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_ofz, config.ofz_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_bonds, config.bonds_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_bpif, config.bpif_file), \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_download_stock_market_data(url_shares, config.stocks_file), \u00a0\u00a0\u00a0) <\/code><\/pre>\n<p>\u0412 <a href=\"https:\/\/github.com\/wolf24ru\/CrazyInvest\/blob\/main\/config.py\" rel=\"noopener noreferrer nofollow\">config.py<\/a> \u043b\u0435\u0436\u0430\u0442 \u043f\u0443\u0442\u0438 \u043a \u0440\u0430\u0437\u043d\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<\/div>\n<\/details>\n<p>\u041e\u0442\u043b\u0438\u0447\u043d\u043e! \u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u041c\u0411 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c. (\u0418 \u0435\u0441\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u043e \u0442\u043e \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u041f\u0438\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442.\u00a0 \u041d\u043e \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0434\u0435\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u043b\u0443\u0447\u0448\u0435\u0435 \u0438\u00a0 \u0432\u0435\u0440\u0438\u0442\u044c \u0432 \u0442\u043e, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u0432\u0441\u0435\u043c &#171;<abbr title=\"\u043d\u0435\u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\" type=\"abbr\">\u043d\u0432\u0435\u0441\u0442\u043e\u0440&#187; type=&#187;abbr&#187;>\u043d\u0435\u043a\u0432\u0430\u043b\u0430<\/abbr>&#187; \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u0442\u043e\u0440\u0433\u043e\u0432\u0430\u0442\u044c \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u044b\u043c\u0438\u00a0 \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u043c\u0438.).<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u043a\u043e\u0441\u0442\u044b\u043b\u0438. \u0414\u0430, \u0432\u0435\u0440\u043d\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u044b \u0441 <abbr title=\"\u0441\u0430\u043d\u043a\u0442 \u043f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u0430\u044f \u0431\u0438\u0440\u0436\u0430\" type=\"abbr\">\u0431\u0438\u0440\u0436\u0430&#187; type=&#187;abbr&#187;>\u0421\u041f<\/abbr>. \u0410\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e\u0433\u043e API, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043e\u0442\u0434\u0430\u0432\u0430\u043b \u0431\u044b \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0432\u0438\u0434\u0438\u043c\u043e \u0435\u0433\u043e \u0438 \u043d\u0435\u0442. \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c\u0438 API, \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u043e\u0432, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c <a href=\"https:\/\/www.tinkoff.ru\/invest\/open-api\/\" rel=\"noopener noreferrer nofollow\">\u0422\u0438\u043d\u043a\u043e\u0444\u0444\u0441\u043a\u0438\u043c API<\/a>. \u0412\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043d\u0438\u0445, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u043a\u0442\u0438\u0432\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443\u2026 \u043a\u0430\u043a \u0431\u044b \u044d\u0442\u043e \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0431\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e\u2026 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u0438, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0438 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/selenium-python.readthedocs.io\/\" rel=\"noopener noreferrer nofollow\">selenium<\/a>. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043d\u0430\u0448\u0435\u043b, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 &#8212; \u044d\u0442\u043e <a href=\"https:\/\/spbexchange.ru\/ru\/stocks\/inostrannye\/Instruments.aspx\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u0431\u043b\u0438\u0446\u0430<\/a> \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 CSV. \u0422\u0430\u043a \u0447\u0442\u043e, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0446\u0438\u0432\u0438\u043b\u044c\u043d\u044b\u043c requests, \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u043e\u0442\u043b\u0438\u043d\u0433\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u0443\u0441\u043f\u0435\u0445\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u043a\u043e\u0441\u0442\u044b\u043b\u0438.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0438<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from webdriver_manager.chrome import ChromeDriverManager   import config      # \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 def latest_download_file():       path_download = config.path_file \/ 'spb_data'          os.chdir(path_download)       files = sorted(os.listdir(os.getcwd()), key=os.path.getmtime)          if files:           newest = files[-1]           return newest       else:           raise Exception('dir is empty')         async def download_data():       url_spb = 'https:\/\/spbexchange.ru\/ru\/stocks\/inostrannye\/Instruments.aspx?csv=download'       with requests.get(url_spb, allow_redirects=True) as r:           # \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u043e\u043c\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c         if r.status_code == 200:               with open(config.spb_file, 'wb') as f:                   f.write(r.content)           else:         # \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440               option = webdriver.ChromeOptions()                  prefs = {\"download.default_directory\": str(config.path_file \/ 'spb_data')}               option.add_experimental_option('prefs', prefs)                  driver = webdriver.Chrome(ChromeDriverManager().install(), options=option)               driver.get(url_spb)               time.sleep(5)               driver.close()                  file = latest_download_file()                  if pathlib.Path(file).suffix == '.csv':                   os.renames(file, 'SPB.csv') <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0421\u041f\u0411. \u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0442\u0443\u0442 \u0432\u0441\u0435 \u0432 \u043a\u0443\u0447\u0435, \u0438 \u0430\u043a\u0446\u0438\u0438 \u0438 \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0430\u043a\u0442\u0438\u0432\u043e\u0432, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0434\u043d\u0435\u0435.<\/p>\n<h3>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u044b\u0447\u043b\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u043e\u0439 \u043d\u0430\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0441 \u041c\u043e\u0441\u0411\u0438\u0440\u0436\u0438. \u0422\u0443\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 json \u0444\u0430\u0439\u043b\u044b \u0432 \u0431\u0430\u0437\u0443 \u0437\u043d\u0430\u043d\u0438\u0439. \u042f \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u0440\u0430\u0437\u0443\u043c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0430 2 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0430\u043a\u0446\u0438\u0438 \u0438 \u041f\u0418\u0424-\u044b, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0441\u0435 \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u041e\u0424\u0417. \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/pandas.pydata.org\/\" rel=\"noopener noreferrer nofollow\">pandas<\/a>. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c 2 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438\u0437 json \u0432 \u043e\u0434\u043d\u0443, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0445<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-390226","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/390226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=390226"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/390226\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}