{"id":300297,"date":"2020-03-18T03:00:11","date_gmt":"2020-03-18T03:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=300297"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=300297","title":{"rendered":"\u041f\u0440\u0438\u043c\u0430\u0442\u044b \u0438 JavaScript \u043d\u0430 \u0441\u043b\u0443\u0436\u0431\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u043e\u0433\u0430\u0442\u0441\u0442\u0432\u0430"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/492382\/\">\u0416\u0443\u0440\u043d\u0430\u043b\u0438\u0441\u0442\u044b \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0439 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0439 \u0434\u0435\u043b\u043e\u0432\u043e\u0439 \u0433\u0430\u0437\u0435\u0442\u044b \u00ab\u0423\u043e\u043b\u043b-\u0441\u0442\u0440\u0438\u0442 \u0434\u0436\u043e\u0440\u043d\u044d\u043b\u00bb \u043f\u0438\u0448\u0443\u0442, \u0447\u0442\u043e \u00ab\u0432 \u044d\u0442\u043e\u043c \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u043e \u043d\u0438 \u043e\u0434\u043d\u043e \u0436\u0438\u0432\u043e\u0442\u043d\u043e\u0435, \u043d\u043e \u044d\u0433\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0431\u044b\u043b\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u044f\u0437\u0432\u043b\u0435\u043d\u043e\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vm\/fl\/xx\/vmflxxzken0ojhlco0qti7bhgn8.gif\"><br \/>  <i>\u0412\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u044b \u0432\u0441\u0451 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 JavaScript<\/i><\/p>\n<p>  \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0438\u0437\u0434\u0430\u043d\u0438\u044f\u043c\u0438 \u0432 \u0440\u0430\u0437\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <a href=\"https:\/\/yandex.ru\/search\/?text=%D0%BE%D0%B1%D0%B5%D0%B7%D1%8C%D1%8F%D0%BD%D0%B0%20%D0%B2%D1%8B%D0%B1%D0%B8%D1%80%D0%B0%D0%B5%D1%82%20%D0%B0%D0%BA%D1%86%D0%B8%D0%B8%20%D0%B4%D0%B0%D1%80%D1%82%D1%81&amp;lr=50\" rel=\"nofollow\">\u0436\u0438\u0432\u0430\u044f \u0434\u0440\u0435\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0430 \u043a\u0438\u0434\u0430\u0435\u0442 \u0434\u0440\u043e\u0442\u0438\u043a\u0438 \u0432 \u043f\u043b\u0430\u043a\u0430\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u043d\u044b \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0431\u0443\u043c\u0430\u0433<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043e\u043d\u0430 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u2014 \u044d\u0442\u0438 \u0431\u0443\u043c\u0430\u0433\u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u044e\u0442 \u043d\u0430 \u0431\u0438\u0440\u0436\u0435. \u0421\u043f\u0443\u0441\u0442\u044f \u0432\u0440\u0435\u043c\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u044f, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043e\u0439, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0442 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432. <\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u0436\u0438\u0432\u0430\u044f \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u2014 JavaScript <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3a9\/4ca\/cf5\/3a94cacf5f7ad9da419ac252379e2aa0.png\" width=\"18\" alt=\"image\"> \u0432\u0441\u0451 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0432\u0438\u0434\u0435. <\/p>\n<p>  \u041c\u0435\u043d\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u0435\u043d\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u043d\u0438\u0437\u043a\u0430\u044f \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0431\u0435\u0440\u0435\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 <b>\u0434\u0435\u0448\u0435\u0432\u0435\u044e\u0449\u0438\u0439 \u0440\u0443\u0431\u043b\u044c<\/b>, \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445. <\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043a\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0438 \u0434\u0430\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<blockquote><p>\u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432\u044b\u0432\u0435\u0441\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u0432\u043d\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438 \u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u043c\u0438, \u043e \u0442\u043e\u043c \u0447\u0442\u043e \u0431\u0435\u0437\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u043d\u0430 \u043e\u0442\u043a\u0443\u043f \u0441\u043b\u0443\u0447\u0430\u044e, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0442\u043e\u043c, \u0433\u0434\u0435 \u0432\u0437\u044f\u0442\u044c \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0443 <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/19d\/bfa\/feb\/19dbfafeb0798ab11f28e2979f91fc8c.png\" width=\"18\" alt=\"image\">, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u043d\u0435\u0441\u0435\u0442 \u043d\u0430\u043c \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u044b.<\/p><\/blockquote>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0445\u0440\u0435\u0441\u0442\u043e\u043c\u0430\u0442\u0438\u0439\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0430\u0432\u0442\u043e\u0440\u0430\u043c\u0438. \u0412\u0441\u0435 \u044d\u0442\u0438 \u043f\u0440\u0438\u0451\u043c\u044b \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u0432\u0430\u043b\u044e\u0442\u0430\u043c \u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u043c \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u043a \u0430\u043a\u0446\u0438\u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0442\u0440\u0430\u043d, \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0421\u0428\u0410 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u0442\u0438 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0438 \u043b\u0435\u0433\u043a\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u0430\u0436\u0435 \u0434\u043b\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u0443\u043c\u043c \u0432 \u0420\u043e\u0441\u0441\u0438\u0438. \u00ab<abbr title=\"\u0421\u0442\u0430\u0442\u044c\u044f 51.2 \u0424\u0435\u0434\u0435\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u043e\u043d\u0430 \u043e\u0442 22.04.1996 N 39-\u0424\u0417 (\u0440\u0435\u0434. \u043e\u0442 06.04.2015) \u041e \u0440\u044b\u043d\u043a\u0435 \u0446\u0435\u043d\u043d\u044b\u0445 \u0431\u0443\u043c\u0430\u0433 \u0423\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0411\u0430\u043d\u043a\u0430 \u0420\u043e\u0441\u0441\u0438\u0438 \u043e\u0442 29.04.2015 N 3629-\u0423 \u041e \u043f\u0440\u0438\u0437\u043d\u0430\u043d\u0438\u0438 \u043b\u0438\u0446 \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u0430\u043c\u0438 \u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043b\u0438\u0446, \u043f\u0440\u0438\u0437\u043d\u0430\u043d\u043d\u044b\u0445 \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u0430\u043c\u0438\">\u041a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u043c<\/abbr>\u00bb \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043b\u0438\u0447\u043d\u043e \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a \u043f\u043e\u0434\u043e\u0439\u0442\u0438 \u043a \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u043c, \u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u043d\u0430\u0447\u0430\u0442\u044c \u0441 \u0445\u0440\u0435\u0441\u0442\u043e\u043c\u0430\u0442\u0438\u0439\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432. \u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e \u0441\u0440\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u043c \u0432\u043a\u043b\u0430\u0434\u0430\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 2020 \u0433\u043e\u0434\u0430 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u0434\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0430 5,93% \u0433\u043e\u0434\u043e\u0432\u044b\u0445, \u0430 \u043f\u0430\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 \u0444\u043e\u043d\u0434\u043e\u0432\u044b\u0445 \u0440\u044b\u043d\u043a\u0430\u0445 \u0421\u0428\u0410 \u0432 \u043c\u0430\u0440\u0442\u0435 2020 \u0433\u043e\u0434\u0430 \u0441\u0442\u0430\u043b\u043e \u043a\u0440\u0443\u043f\u043d\u0435\u0439\u0448\u0438\u043c \u0441 \u00ab\u0447\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a\u0430\u00bb 1987 \u0433\u043e\u0434\u0430. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u0443\u0433\u0430\u044e\u0449\u0430\u044f, \u043d\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435: \u00ab<abbr title=\"\u0411\u0430\u0440\u043e\u043d \u0420\u043e\u0442\u0448\u0438\u043b\u044c\u0434, \u0434\u0432\u043e\u0440\u044f\u043d\u0438\u043d, \u0436\u0438\u0432\u0448\u0438\u0439 \u0432 18 \u0432\u0435\u043a\u0435\">\u041f\u043e\u043a\u0443\u043f\u0430\u0439, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430 \u0443\u043b\u0438\u0446\u0430\u0445 \u0442\u0435\u0447\u0435\u0442 \u043a\u0440\u043e\u0432\u044c, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0438 \u0442\u0432\u043e\u044f<\/abbr>\u00bb.<\/p>\n<p>  \u0425\u0440\u0435\u0441\u0442\u043e\u043c\u0430\u0442\u0438\u0439\u043d\u044b\u0445 \u043a\u043d\u0438\u0436\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043b\u0438\u0448\u044c \u0442\u0440\u0438 \u0438\u0437 \u043d\u0438\u0445. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u044d\u0442\u043e \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u0435 \u043a <a href=\"#JS\">\u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0435, \u0434\u0440\u043e\u0442\u0438\u043a\u0430\u043c \u0438 JavaScript \u043d\u0438\u0436\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u0438<\/a>.<\/p>\n<h2>\u041a\u043b\u0430\u0441\u0441\u044b \u0430\u043a\u0442\u0438\u0432\u043e\u0432<\/h2>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u043d\u0438\u0436\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0441\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c? \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043a\u0430 \u0420\u043e\u0441\u0441\u0438\u0438 \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u044b \u0437\u043d\u0430\u0447\u0438\u043c\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u043c\u0438\u0440\u043e\u0432\u043e\u043c \u0440\u044b\u043d\u043a\u0435 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0430.<\/p>\n<p>  \u041f\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 <a href=\"https:\/\/www.credit-suisse.com\/about-us\/en\/reports-research\/csri.html\" rel=\"nofollow\">Credit Suisse Global Investment Returns Yearbook 2020 Summary Edition<\/a> \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043c\u0438\u0440\u043e\u0432\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432\u044b\u0445 \u0440\u044b\u043d\u043a\u043e\u0432 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e 2020 \u0433\u043e\u0434\u0430:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sm\/zr\/ye\/smzrye7ufxhca3klqcmywxbup9w.png\"><br \/>  <i>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438\u0437 \u043e\u0442\u0447\u0435\u0442\u0430 Credit Suisse Global Investment Returns Yearbook 2020 Summary Edition: 2020 \u0433\u043e\u0434 (\u0441\u043f\u0440\u0430\u0432\u0430) \u043f\u0440\u043e\u0442\u0438\u0432 121 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 (\u0441\u043b\u0435\u0432\u0430).<\/i><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0440\u0438\u0441\u0443\u043d\u043a\u0430 \u0434\u043e\u043b\u044f \u0420\u043e\u0441\u0441\u0438\u0438 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e 2020 \u0433\u043e\u0434\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u043f\u043e\u043f\u0430\u043b\u0430 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u043c\u0438\u0440\u043e\u0432\u043e\u0433\u043e \u0440\u044b\u043d\u043a\u0430 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0430, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0441\u0442\u043e\u043b\u0435\u0442\u043d\u0435\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438, \u0433\u0434\u0435 \u044d\u0442\u0430 \u0434\u043e\u043b\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0430 6,1%.<\/p>\n<p>  \u041d\u043e \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u0430\u043a\u0442\u0438\u0432\u043e\u0432:<\/p>\n<p>  <b>\u0414\u0435\u043d\u044c\u0433\u0438<\/b>  <\/p>\n<ul>\n<li>Cash: \u043d\u0430\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438<\/li>\n<li>Foreign currency: \u043d\u0430\u043b\u0438\u0447\u043d\u0430\u044f \u0432\u0430\u043b\u044e\u0442\u0430<\/li>\n<\/ul>\n<p>  <b>\u0422\u043e\u0432\u0430\u0440\u044b<\/b>  <\/p>\n<ul>\n<li>Commodities: \u0442\u043e\u0432\u0430\u0440\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043c\u0435\u0442\u0430\u043b\u043b\u044b, \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/li>\n<\/ul>\n<p>  <b>\u041d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u044c<\/b>  <\/p>\n<ul>\n<li>Real estate: \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u044c<\/li>\n<li>REIT: \u0444\u043e\u043d\u0434\u044b \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438<\/li>\n<\/ul>\n<p>  <b>\u0414\u043e\u043b\u0433\u0438<\/b>  <\/p>\n<ul>\n<li>Global Bonds: \u043c\u0438\u0440\u043e\u0432\u044b\u0435 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0435) \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438<\/li>\n<li>Domestic Bonds: \u043e\u0431\u043b\u0438\u0433\u0430\u0446\u0438\u0438 \u0440\u044b\u043d\u043a\u0430 \u0421\u0428\u0410<\/li>\n<li>Deposit account: \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u0435 \u0432\u043a\u043b\u0430\u0434\u044b<\/li>\n<li>Debt: \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0445 \u043b\u0438\u0446<\/li>\n<\/ul>\n<p>  <b>\u0414\u043e\u043b\u0438 \u0432 \u0431\u0438\u0437\u043d\u0435\u0441\u0430\u0445<\/b>  <\/p>\n<ul>\n<li>Large Cap Stocks: \u0430\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0421\u0428\u0410 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/li>\n<li>Small Cap Stocks: \u0430\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0421\u0428\u0410 \u043c\u0430\u043b\u043e\u0439 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/li>\n<li>International Stocks: \u043c\u0438\u0440\u043e\u0432\u044b\u0435 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0435) \u0430\u043a\u0446\u0438\u0438<\/li>\n<\/ul>\n<p>  <b>\u0411\u0438\u0437\u043d\u0435\u0441<\/b>  <\/p>\n<ul>\n<li>Private equity: \u0447\u0430\u0441\u0442\u043d\u043e\u0435 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0434\u043e\u043b\u044f \u0432 \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0435, \u043d\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d\u043d\u044b\u0435 \u043d\u0430 \u0444\u043e\u043d\u0434\u043e\u0432\u043e\u0439 \u0431\u0438\u0440\u0436\u0435<\/li>\n<\/ul>\n<p>  <b>\u0421\u043f\u0435\u043a\u0443\u043b\u044f\u0446\u0438\u0438<\/b>  <\/p>\n<ul>\n<li>Derivatives: \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u043d\u044b\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0444\u044c\u044e\u0447\u0435\u0440\u0441\u044b, \u043e\u043f\u0446\u0438\u043e\u043d\u044b<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a\u0436\u0435 <a href=\"https:\/\/www.portfoliovisualizer.com\/historical-asset-class-returns\" rel=\"nofollow\">\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0432\u043e\u0434\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u0435\u0439<\/a> \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u0430\u0436 \u0441 1972 \u0433\u043e\u0434\u0430.<\/p>\n<h2>\u041a\u043d\u0438\u0436\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b<\/h2>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c \u043f\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u0430\u043a\u0442\u0438\u0432\u043e\u0432 \u043f\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u043c (Asset allocation) \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u0440\u043e\u0432:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fc0\/09d\/467\/fc009d467272c4341c5bcf0c16e1c60a.jpg\" align=\"left\" width=\"250\">  <\/p>\n<h3>\u21161. <abbr title=\"Ray Dalio - All Weather\">\u0412\u0441\u0435\u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u044c \u0420\u044d\u044f \u0414\u044d\u043b\u0438\u043e<\/abbr><\/h3>\n<p>  \u0420\u0435\u0439\u043c\u043e\u043d\u0434 \u0414\u0430\u043b\u0438\u043e \u2014 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u0439 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u0435\u0440, \u0444\u0438\u043d\u0430\u043d\u0441\u0438\u0441\u0442, \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Bridgewater Associates (\u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0430\u044f \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0432 1975 \u0433\u043e\u0434\u0443. \u0424\u0438\u0440\u043c\u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043f\u0435\u043d\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u043e\u043d\u0434\u044b, \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u0444\u043e\u043d\u0434\u044b, \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0430\u043d\u043a\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d), \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u0438:   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u041a\u043b\u0430\u0441\u0441 \u0430\u043a\u0442\u0438\u0432\u0430<\/th>\n<th>% \u0432 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435<\/th>\n<\/tr>\n<tr>\n<td>US Stock Market<\/td>\n<td>30%<\/td>\n<\/tr>\n<tr>\n<td>Long Term Treasury<\/td>\n<td>40%<\/td>\n<\/tr>\n<tr>\n<td>Intermediate Term Treasury<\/td>\n<td>15%<\/td>\n<\/tr>\n<tr>\n<td>Commodities<\/td>\n<td>7.5%<\/td>\n<\/tr>\n<tr>\n<td>Gold<\/td>\n<td>7.5%<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/5c5\/63b\/385\/5c563b385e0ece0cefd0e6a65f1787af.jpg\" align=\"left\" width=\"250\">  <\/p>\n<h3>\u21162. <abbr title=\"William Bernstein - No Brainer\">\u041f\u043e\u0440\u0442\u0444\u0435\u043b\u044c \u0423\u0438\u043b\u044c\u044f\u043c\u0430 \u0411\u0435\u0440\u043d\u0441\u0442\u0430\u0439\u043d\u0430 \u0431\u0435\u0437 \u0440\u0430\u0437\u0434\u0443\u043c\u0438\u0439<\/abbr><\/h3>\n<p>  \u0423\u0438\u043b\u044c\u044f\u043c \u0411\u0435\u0440\u043d\u0441\u0442\u0430\u0439\u043d \u2014 \u0434\u043e\u043a\u0442\u043e\u0440 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438, \u0434\u043e\u043a\u0442\u043e\u0440 \u043c\u0435\u0434\u0438\u0446\u0438\u043d\u044b, \u043d\u0435\u0432\u0440\u043e\u043b\u043e\u0433, \u043e\u0434\u0438\u043d \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0444\u0438\u0440\u043c\u044b Efficient Frontier Advisors LLC, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u043c\u0438, \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0430\u043a\u0442\u0438\u0432\u043e\u0432 Efficient Frontier. \u041e\u043d \u2014 \u0430\u0432\u0442\u043e\u0440 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u043a\u043d\u0438\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u0430\u043b\u0438 \u0431\u0435\u0441\u0442\u0441\u0435\u043b\u043b\u0435\u0440\u0430\u043c\u0438: \u00ab\u0420\u0430\u0437\u0443\u043c\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u00bb (The Intelligent Asset Allocator), \u00ab\u0427\u0435\u0442\u044b\u0440\u0435 \u0441\u0442\u043e\u043b\u043f\u0430 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb (The Four Pillars of Investing), \u00ab\u0420\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0438\u043b\u0438\u044f\u00bb (The Birth of Plenty) \u0438 \u00ab\u0412\u044b\u0433\u043e\u0434\u043d\u044b\u0439 \u043e\u0431\u043c\u0435\u043d\u00bb (A Splendid Exchange). \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u041a\u043b\u0430\u0441\u0441 \u0430\u043a\u0442\u0438\u0432\u0430<\/th>\n<th>% \u0432 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435<\/th>\n<\/tr>\n<tr>\n<td>US Large Cap<\/td>\n<td>25%<\/td>\n<\/tr>\n<tr>\n<td>US Small Cap<\/td>\n<td>25%<\/td>\n<\/tr>\n<tr>\n<td>Global ex-US Stock Market<\/td>\n<td>25%<\/td>\n<\/tr>\n<tr>\n<td>Total US Bond Market<\/td>\n<td>25%<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b73\/35e\/bf5\/b7335ebf514ef352fd83cf96de0f9be9.jpg\" align=\"left\" width=\"250\">  <\/p>\n<h3>\u21163. <abbr title=\"David Swensen - Yale Endowment\">\u0424\u043e\u043d\u0434 \u0419\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u0414\u044d\u0432\u0438\u0434\u0430 \u0421\u0432\u0435\u043d\u0441\u0435\u043d\u0430<\/abbr><\/h3>\n<p>  \u0414\u044d\u0432\u0438\u0434 \u0421\u0432\u0435\u043d\u0441\u0435\u043d \u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440 \u043f\u043e \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u043c \u0419\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430, \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440 \u0419\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0448\u043a\u043e\u043b\u044b \u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442\u0430, \u0447\u043b\u0435\u043d \u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0439 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0438 \u043d\u0430\u0443\u043a \u0438 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u041a\u043b\u0430\u0441\u0441 \u0430\u043a\u0442\u0438\u0432\u0430<\/th>\n<th>% \u0432 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435<\/th>\n<\/tr>\n<tr>\n<td>US Stock Market<\/td>\n<td>30%<\/td>\n<\/tr>\n<tr>\n<td>Long Term Treasury<\/td>\n<td>15%<\/td>\n<\/tr>\n<tr>\n<td>Emerging Markets<\/td>\n<td>5%<\/td>\n<\/tr>\n<tr>\n<td>TIPS<\/td>\n<td>15%<\/td>\n<\/tr>\n<tr>\n<td>REIT<\/td>\n<td>20%<\/td>\n<\/tr>\n<tr>\n<td>Intl Developed ex-US Market<\/td>\n<td>15%<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <\/p>\n<h3>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u0442\u0440\u0435\u0445 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435\u0439<\/h3>\n<p>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0442\u043e \u0432\u044b 10 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 2010 \u0433\u043e\u0434\u0430 \u0432\u043b\u043e\u0436\u0438\u043b\u0438 \u043f\u043e $1 000 (\u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 $1 000 = 30 185 \u0440\u0443\u0431.) \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u0442\u0440\u0435\u0445 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u0435\u0439. \u041d\u0430 \u043c\u0430\u0440\u0442 2020 \u0433\u043e\u0434\u0430 \u0432\u0430\u0448\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u044f\u0442 (\u0433\u0440\u0430\u0444\u0438\u043a \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 \u0421\u0428\u0410):<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xr\/e8\/0k\/xre80ky4qmhuziwpa6kmno1mckm.png\"><br \/>  <b>1. Ray Dalio \u2014 All Weather (\u0432\u0441\u0435\u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u044c \u0420\u044d\u044f \u0414\u044d\u043b\u0438\u043e): <\/b><br \/>  $2 091 (+109% \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 \u0421\u0428\u0410) \u0438\u043b\u0438 156 908 \u0440\u0443\u0431. (+420% \u0432 \u0440\u0443\u0431\u043b\u044f\u0445)<br \/>  <b>2. William Bernstein \u2014 No Brainer (\u043f\u043e\u0440\u0442\u0444\u0435\u043b\u044c \u0423\u0438\u043b\u044c\u044f\u043c\u0430 \u0411\u0435\u0440\u043d\u0441\u0442\u0430\u0439\u043d\u0430 \u0431\u0435\u0437 \u0440\u0430\u0437\u0434\u0443\u043c\u0438\u0439): <\/b><br \/>  $2 195 (+119% \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 \u0421\u0428\u0410) \u0438\u043b\u0438 164 712 \u0440\u0443\u0431. (+445% \u0432 \u0440\u0443\u0431\u043b\u044f\u0445)<br \/>  <b>3. David Swensen Yale Endowment (\u0444\u043e\u043d\u0434 \u0419\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u0414\u044d\u0432\u0438\u0434\u0430 \u0421\u0432\u0435\u043d\u0441\u0435\u043d\u0430): <\/b><br \/>  $2 345 (+134% \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 \u0421\u0428\u0410) \u0438\u043b\u0438 175 968 \u0440\u0443\u0431. (+483% \u0432 \u0440\u0443\u0431\u043b\u044f\u0445)<\/p>\n<p>  \u0426\u0438\u0444\u0440\u044b \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u0438 (\u0438 \u043f\u0435\u0440\u0435\u0441\u0447\u0451\u0442 \u0434\u043e\u043b\u043b\u0430\u0440\u043e\u0432 \u0432 \u0440\u0443\u0431\u043b\u0438) \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u0430 17 \u043c\u0430\u0440\u0442\u0430 2020 \u0433\u043e\u0434\u0430. \u0420\u0430\u0441\u0447\u0451\u0442 \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u043d\u043e \u0447\u0438\u0441\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0434\u043b\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 \u0414\u044d\u0432\u0438\u0434\u0430 \u0421\u0432\u0435\u043d\u0441\u0435\u043d\u0430:  <\/p>\n<p><math>$$display$$\\frac{$2345}{$1000}*100 &#8212; 100 = 134\\%$$display$$<\/math><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0435\u0441\u0442\u0438 \u0440\u0430\u0441\u0447\u0451\u0442\u044b \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 10 \u043b\u0435\u0442 \u0432 \u0440\u0443\u0431\u043b\u044f\u0445 \u0446\u0438\u0444\u0440\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u044e\u0449\u0430\u044f:  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7e4\/2a1\/af1\/7e42a1af1d55c4eb2d28baed0082a3d7.svg\" alt=\"$\\frac{175968\u20bd}{30185\u20bd}*100 - 100 = 483\\%$\" data-tex=\"display\"><\/math><\/p>\n<p>  <a name=\"JS\"><\/a><\/p>\n<h2><s> \u0421\u0442\u0430\u043d\u044c\u0442\u0435 <\/s> \u043f\u0440\u0438\u043a\u0438\u043d\u044c\u0442\u0435\u0441\u044c \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u043e\u0439<\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ry\/fm\/k0\/ryfmk0e5d3t8jgpz4juw9bkauyq.png\"><\/p>\n<p>  \u0410 \u0432\u043e\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0447\u043d\u0435\u043c \u043c\u0435\u0442\u0430\u0442\u044c \u0434\u0440\u043e\u0442\u0438\u043a\u0438. \u041a\u0430\u043a \u0434\u0443\u043c\u0430\u0435\u0442\u0435, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043e\u0431\u044b\u0433\u0440\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432 \u0437\u0430 \u043e\u0434\u0438\u043d \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0431\u0440\u043e\u0441\u043e\u043a? \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0430\u043a\u0446\u0438\u044e, \u043f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c <a href=\"https:\/\/habr.com\/post\/486716\/\">API \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0438<\/a>. <\/p>\n<p>  \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u043f\u043e\u0434\u0440\u0430\u0436\u0430\u043d\u0438\u044f \u0431\u044b\u043b \u0432\u0437\u044f\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 <a href=\"https:\/\/github.com\/RayBB\/random-stock-picker\" rel=\"nofollow\">\u0420\u0430\u0439\u043c\u043e\u043d\u0434\u0430 \u0411\u0435\u0440\u0433\u0435\u0440\u0430 \u0438\u0437 \u041d\u044c\u044e-\u0419\u043e\u0440\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a>, \u0433\u0434\u0435 \u0430\u0432\u0442\u043e\u0440 bash \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0441 FTP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441\u0432\u043e\u0434\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u0445 \u0431\u0443\u043c\u0430\u0433 \u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u0435\u0433\u043e \u0432 JSON, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u043e\u0434\u043d\u0438\u0445 \u0442\u0438\u043a\u0435\u0440\u043e\u0432, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 bootstrap \u0438 \u0447\u0438\u0441\u0442\u043e\u0433\u043e JavaScript \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0439 \u0431\u0438\u0440\u0436\u0435\u0432\u043e\u0439 \u0442\u0438\u043a\u0435\u0440, \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u0430\u0432\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 Yahoo! Finance.<\/p>\n<p>  \u041a\u043e\u0434 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u044b\u043b \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 \u0440\u0435\u0430\u043b\u0438\u0439 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u043e\u043c \u041f\u0430\u043b\u0430\u0447\u0451\u0432\u044b\u043c. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0441\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e API \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0438 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0434\u0430\u0447\u0443 \u0441\u0440\u0430\u0437\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON. \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c JavaScript \u0438 \u0444\u0430\u0439\u043b index.html \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u0442\u0430\u043a \u0438 \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u041a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0443 \u043d\u0430 JavaScript \u0438 \u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0440\u0443\u0441\u0441\u043a\u0443\u044e \u0440\u0443\u043b\u0435\u0442\u043a\u0443 \u0441 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0435\u0439? \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u043c \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e:<\/p>\n<ol>\n<li>\u0411\u0440\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u0431\u0438\u0440\u0436\u0438 <a href=\"https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/\" rel=\"nofollow\">\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u00ab\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u0445 \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u043e\u0440\u0433\u043e\u0432\u00bb (boardid) \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0438.<\/a>\n<pre><code class=\"javascript\">\/\/\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u043e\u0440\u0433\u0443\u0435\u043c\u044b\u0445 \u0430\u043a\u0446\u0438\u044f\u0445 \u043d\u0430 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0435 url = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/'<\/code><\/pre>\n<\/li>\n<li>\u0411\u0440\u0430\u0442\u044c <a href=\"https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities.json?iss.meta=off&amp;iss.only=securities&amp;securities.columns=SECID,SECNAME\" rel=\"nofollow\">\u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u0443\u043c\u0430\u0433 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 boardid \u043d\u0430 \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0435.<\/a><br \/> \n<pre><code class=\"javascript\">boardid = 'TQBR' \/\/\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u043e\u0440\u0433\u043e\u0432 url = 'https:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/'+ boardid +'\/securities.json?iss.meta=off&amp;iss.only=securities&amp;securities.columns=SECID,SECNAME'<\/code><\/pre>\n<\/li>\n<li>\u0421\u0432\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0441\u043e <a href=\"https:\/\/www.moex.com\/ru\/listing\/securities.aspx\" rel=\"nofollow\">\u0441\u0432\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u043e\u0439 \u0431\u0443\u043c\u0430\u0433 \u043d\u0430 \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0431\u0438\u0440\u0436\u0435.<\/a><\/li>\n<li>\u0423\u0437\u043d\u0430\u0432\u0430\u0442\u044c <a href=\"http:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities.json?iss.meta=off&amp;iss.only=securities&amp;securities.columns=SECID,PREVADMITTEDQUOTE\" rel=\"nofollow\">\u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0446\u0435\u043d\u0443 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0446\u0435\u043d\u043d\u043e\u0439 \u0431\u0443\u043c\u0430\u0433\u0438.<\/a><br \/> \n<pre><code class=\"javascript\">boardid = 'TQBR' \/\/\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u043e\u0440\u0433\u043e\u0432 url = 'http:\/\/iss.moex.com\/iss\/engines\/stock\/markets\/shares\/boards\/'+ boardid +'\/securities.json?iss.meta=off&amp;iss.only=securities&amp;securities.columns=SECID,PREVADMITTEDQUOTE'<\/code><\/pre>\n<\/li>\n<li>\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0446\u0435\u043d\u0443 n \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0434\u0430\u0442\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 API \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c boardid, SECID \u0438 \u0434\u0430\u0442\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<br \/>  <a href=\"http:\/\/iss.moex.com\/iss\/history\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities\/SBER.json?iss.meta=off&amp;iss.only=history&amp;history.columns=SECID,TRADEDATE,CLOSE&amp;limit=1&amp;from=2015-01-10\" rel=\"nofollow\"> \u2014 boardid = TQBR<br \/>   \u2014 SECID = SBER<br \/>   \u2014 date = 2015-01-10<\/a>.<br \/> \n<pre><code class=\"javascript\">boardid = 'TQBR' \/\/ \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0440\u0435\u0436\u0438\u043c\u0430 \u0442\u043e\u0440\u0433\u043e\u0432 SECID = 'SBER' \/\/ \u0442\u0438\u043a\u0435\u0440 date = '2015-01-10' \/\/ \u0434\u0430\u0442\u0430 url = 'http:\/\/iss.moex.com\/iss\/history\/engines\/stock\/markets\/shares\/boards\/'+ boardid +'\/securities\/'+ SECID +'.json?iss.meta=off&amp;iss.only=history&amp;history.columns=SECID,TRADEDATE,CLOSE&amp;limit=1&amp;from=' + date<\/code><\/pre>\n<\/li>\n<li>\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u044e\u044e \u0446\u0435\u043d\u0443 \u0430\u043a\u0442\u0438\u0432\u0430 \u0438 \u0446\u0435\u043d\u0443 5 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c.<br \/> \n<pre><code class=\"javascript\">curStock = 'AFKS' dateNow = '2020-03-06' datePre = '2015-03-06' fetch(getCost(curStock, datePre)).then(result =&gt; {     return (result.json()) }).then(res =&gt; {     let costPre = res.history.data[0][2];     return (costPre) }).then(costPre =&gt; {     fetch(getCost(curStock, dateNow)).then(result =&gt; {         return (result.json())     }).then(res =&gt; {         let costNow = res.history.data[0][2];         console.log(costPre);         console.log(costNow);         console.log(parseInt((costNow * 100) \/ costPre, 10) - 100)     }) })  function getCost(id, date) {     let url = `http:\/\/iss.moex.com\/iss\/history\/engines\/stock\/markets\/shares\/boards\/TQBR\/securities\/${id}.json?iss.meta=off&amp;iss.only=history&amp;history.columns=SECID,TRADEDATE,CLOSE&amp;limit=1&amp;from=${date}`     return url; }<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>  \u041a \u043a\u043e\u0434\u0443 \u043d\u0435 \u043f\u0440\u0435\u0434\u044a\u044f\u0432\u043b\u044f\u043b\u043e\u0441\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439, \u0432\u0430\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0441\u0432\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/q8\/pt\/kq\/q8ptkqwtmpldlknnnyk6kpfphw0.gif\"><br \/>  <i>\u0413\u0438\u0444\u043a\u0430 \u0441 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b<\/i><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0435\u0441\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0432 \u0440\u0430\u0431\u043e\u0442\u0435: <a href=\"https:\/\/empenoso.github.io\/MOEX-Random-Picker\/\" rel=\"nofollow\">https:\/\/empenoso.github.io\/MOEX-Random-Picker\/<\/a> \u2014 \u043a\u0438\u0434\u0430\u0435\u043c \u0434\u0440\u043e\u0442\u0438\u043a, \u043d\u0430\u0436\u0438\u043c\u0430\u044f \u00ab\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c\u00bb. <\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b \u0443\u0434\u0430\u0447\u043b\u0438\u0432\u044b \u2014 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u043f\u0430\u0432\u0448\u0430\u044f \u0431\u0443\u043c\u0430\u0433\u0430 \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0438\u043b\u0438 \u0443\u043f\u0430\u043b\u0430 \u0432 \u0440\u0443\u0431\u043b\u044f\u0445 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 5 \u043b\u0435\u0442 \u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0430\u0442\u044b. \u041f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e API \u041c\u043e\u0441\u0431\u0438\u0440\u0436\u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0438\u044e\u043d\u044f 2014 \u0433\u043e\u0434\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n<p>  \u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 GitHub: <a href=\"https:\/\/github.com\/empenoso\/MOEX-Random-Picker\" rel=\"nofollow\">empenoso \/ MOEX-Random-Picker<\/a>.<\/p>\n<h2>\u0418\u0442\u043e\u0433<\/h2>\n<p>  <\/p>\n<ol>\n<li>\u041a\u0430\u043a \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0430\u043a\u0446\u0438\u0439 \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u043f\u0440\u043e\u043c\u0435\u0442\u0447\u0438\u0432\u043e \u0438 \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0430\u0442\u044c\u0441\u044f \u043a \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432.<\/li>\n<li>\u0421\u0442\u0430\u0442\u044c\u044f \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0440\u0438\u0437\u0432\u0430\u043d\u0430 \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043a \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u043d\u0441\u0438\u0438 \u2014 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u044b \u0435\u0449\u0435 \u043c\u043e\u043b\u043e\u0434\u044b, \u043d\u043e \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0443\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0437\u0434\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c.<\/li>\n<li>\u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c \u0432 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u044f\u0445 \u043d\u0438\u043a\u0442\u043e \u043a\u0440\u043e\u043c\u0435 \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u043a\u043e\u0432 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/li>\n<li>\u042d\u0442\u043e \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, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0432 \u0441\u0432\u043e\u0438\u0445 \u0446\u0435\u043b\u044f\u0445.<\/li>\n<\/ol>\n<p>  \u0410\u0432\u0442\u043e\u0440: <a href=\"https:\/\/www.facebook.com\/mikhail.shardin\" rel=\"nofollow\">\u041c\u0438\u0445\u0430\u0438\u043b \u0428\u0430\u0440\u0434\u0438\u043d<\/a><br \/>  \u041a\u043e\u0434: \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041f\u0430\u043b\u0430\u0447\u0451\u0432.<\/p>\n<p>  27 \u0444\u0435\u0432\u0440\u0430\u043b\u044f \u2014 18 \u043c\u0430\u0440\u0442\u0430 2020 \u0433.<\/p><\/div>\n<p> \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\/post\/492382\/\"> https:\/\/habr.com\/ru\/post\/492382\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/492382\/\">\u0416\u0443\u0440\u043d\u0430\u043b\u0438\u0441\u0442\u044b \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0439 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0439 \u0434\u0435\u043b\u043e\u0432\u043e\u0439 \u0433\u0430\u0437\u0435\u0442\u044b \u00ab\u0423\u043e\u043b\u043b-\u0441\u0442\u0440\u0438\u0442 \u0434\u0436\u043e\u0440\u043d\u044d\u043b\u00bb \u043f\u0438\u0448\u0443\u0442, \u0447\u0442\u043e \u00ab\u0432 \u044d\u0442\u043e\u043c \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u043e \u043d\u0438 \u043e\u0434\u043d\u043e \u0436\u0438\u0432\u043e\u0442\u043d\u043e\u0435, \u043d\u043e \u044d\u0433\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0431\u044b\u043b\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u044f\u0437\u0432\u043b\u0435\u043d\u043e\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vm\/fl\/xx\/vmflxxzken0ojhlco0qti7bhgn8.gif\"><br \/>  <i>\u0412\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u044b \u0432\u0441\u0451 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 JavaScript<\/i><\/p>\n<p>  \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0438\u0437\u0434\u0430\u043d\u0438\u044f\u043c\u0438 \u0432 \u0440\u0430\u0437\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <a href=\"https:\/\/yandex.ru\/search\/?text=%D0%BE%D0%B1%D0%B5%D0%B7%D1%8C%D1%8F%D0%BD%D0%B0%20%D0%B2%D1%8B%D0%B1%D0%B8%D1%80%D0%B0%D0%B5%D1%82%20%D0%B0%D0%BA%D1%86%D0%B8%D0%B8%20%D0%B4%D0%B0%D1%80%D1%82%D1%81&amp;lr=50\" rel=\"nofollow\">\u0436\u0438\u0432\u0430\u044f \u0434\u0440\u0435\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0430 \u043a\u0438\u0434\u0430\u0435\u0442 \u0434\u0440\u043e\u0442\u0438\u043a\u0438 \u0432 \u043f\u043b\u0430\u043a\u0430\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u043d\u044b \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0440\u0436\u0435\u0432\u044b\u0445 \u0431\u0443\u043c\u0430\u0433<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043e\u043d\u0430 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u2014 \u044d\u0442\u0438 \u0431\u0443\u043c\u0430\u0433\u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u044e\u0442 \u043d\u0430 \u0431\u0438\u0440\u0436\u0435. \u0421\u043f\u0443\u0441\u0442\u044f \u0432\u0440\u0435\u043c\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0440\u0442\u0444\u0435\u043b\u044f, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043e\u0439, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0442 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432. <\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u0436\u0438\u0432\u0430\u044f \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u2014 JavaScript <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3a9\/4ca\/cf5\/3a94cacf5f7ad9da419ac252379e2aa0.png\" width=\"18\" alt=\"image\"> \u0432\u0441\u0451 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0432\u0438\u0434\u0435. <\/p>\n<p>  \u041c\u0435\u043d\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u0435\u043d\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438 \u043d\u0438\u0437\u043a\u0430\u044f \u0434\u043e\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0431\u0435\u0440\u0435\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 <b>\u0434\u0435\u0448\u0435\u0432\u0435\u044e\u0449\u0438\u0439 \u0440\u0443\u0431\u043b\u044c<\/b>, \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445. <\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043a\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0438 \u0434\u0430\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431.  <\/p>\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-300297","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300297","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=300297"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300297\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}