{"id":6686,"date":"2025-11-05T10:01:20","date_gmt":"2025-11-05T10:01:20","guid":{"rendered":"https:\/\/juhayna2026.code95.info\/investment-calculator\/"},"modified":"2025-11-09T15:07:04","modified_gmt":"2025-11-09T15:07:04","slug":"investment-calculator","status":"publish","type":"page","link":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/","title":{"rendered":"calculateur d\u2019investissement"},"content":{"rendered":"\n<section class=\"investment-calculator\">\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-12\">\n        <div class=\"border-r-15\" id=\"stock-chart\"><\/div>\n      <\/div>\n      <div class=\"col-12 px-0\">\n        <div class=\"spacer\"><\/div>\n        <div class=\"custom-filter investors-filter\">\n          <form name=\"calculate-form\">\n            <div class=\"row\">\n              <div class=\"filter-field-group position-relative  mb-3 radio-button-group\">\n                <label class=\"invested-group-label\">Investi\n<\/label><br>\n                <div class=\"custom-radio-wrapper\">\n                  <input type=\"radio\" id=\"invested_amount\" name=\"invested\" value=\"amount\" class=\"custom-radio-input\"\n                    checked \/>\n                  <label for=\"invested_amount\" class=\"custom-radio-label no-focus\">\n                    Amount                  <\/label>\n                <\/div>\n                <div class=\"custom-radio-wrapper\">\n                  <input type=\"radio\" id=\"invested_shares\" name=\"invested\" value=\"shares\" class=\"custom-radio-input\" \/>\n                  <label for=\"invested_shares\" class=\"custom-radio-label no-focus\">\n                    Actions                  <\/label>\n                <\/div>\n              <\/div>\n            <\/div>\n            <div class=\"row d-flex investment-calculator-row\">\n              <div class=\"filter-field-group position-relative  mb-3\">\n                <label for=\"date_from\">De<\/label>\n                <input class=\"form-control\" placeholder=\"De\" type=\"date\" name='date_from'\n                  value=\"2025-04-11\" \/>\n              <\/div>\n              <div class=\"filter-field-group position-relative mb-3\">\n                <label for=\"date_to\">\u00e0<\/label>\n                <input class=\"form-control\" placeholder=\"\u00e0\" type=\"date\" name='date_to'\n                  value=\"2026-04-11\" \/>\n              <\/div>\n\n              <div class=\"filter-field-group position-relative mb-3\">\n                <label for=\"amount_invested\">Montant investi<\/label>\n                <input type=\"text\" class=\"form-control\" name=\"amount_invested\" \/>\n              <\/div>\n              <div class=\"filter-field-group position-relative mx-2 mb-3\">\n                <input type=\"button\" class=\"main-button bg-picton-blue text-white\"\n                  value=\"Calculer\" onclick=\"calculate(this.form)\" \/>\n              <\/div>\n            <\/div>\n          <\/form>\n        <\/div>\n      <\/div>\n      <div class=\"col-12\">\n        <div class=\"spacer\"><\/div>\n        <div class=\"table-responsive\">\n          <table class=\"table table-bordered font-small inverstor-tables\">\n            <thead>\n              <th class=\"bg-pattens text-tory-blue\">Prix d\u2019achat<\/th>\n              <th class=\"bg-pattens text-tory-blue\">Est. number of shares<\/th>\n              <th class=\"bg-pattens text-tory-blue\">Prix de vente\t<\/th>\n              <th class=\"bg-pattens text-tory-blue\">Valeur maintenant\t<\/th>\n              <th class=\"bg-pattens text-tory-blue\">rendement\n<\/th>\n            <\/thead>\n            <tbody class=\"border-white text-tory-blue\">\n              <tr>\n                <td>\n                  <div id=\"buy_price\">&#8211;<\/div>\n                <\/td>\n                <td>\n                  <div id=\"no_of_shares\">&#8211;<\/div>\n                <\/td>\n                <td>\n                  <div id=\"sell_price\">&#8211;<\/div>\n                <\/td>\n                <td>\n                  <div id=\"value_now\">&#8211;<\/div>\n                <\/td>\n                <td>\n                  <div id=\"yield\">&#8211;<\/div>\n                <\/td>\n              <\/tr>\n            <\/tbody>\n          <\/table>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section>\n\n<script>\n  var prices = {};\n\n  function calculate(form) {\n    jQuery.ajax({\n      method: \"POST\",\n      url: \"https:\/\/juhayna2026.code95.info\/wp\/wp-admin\/admin-ajax.php\",\n      data: {\n        date_from: form.date_from.value,\n        date_to: form.date_to.value,\n        invested: form.invested.value,\n        amount_invested: form.amount_invested.value,\n        action: \"investment_calculate\"\n      }\n    }).done(function (data) {\n      jQuery('#buy_price').text(\"EGP \" + data.buy_price);\n      jQuery('#no_of_shares').text(data.no_of_shares);\n      jQuery('#sell_price').text(\"EGP \" + data.sell_price);\n      jQuery('#value_now').text(data.value_now);\n      jQuery('#yield').text(\"%\" + data.yield);\n    }).fail(function (jqXHR, textStatus, errorThrown) {\n      console.error(\"AJAX Error:\", textStatus, errorThrown);\n    }).always(function () {\n      console.log(\"Calculation completed (success or failure).\");\n    });\n  }\n\n<\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":140,"comment_status":"closed","ping_status":"closed","template":"template-sidebar.blade.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-6686","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>calculateur d\u2019investissement - Juhayan2026<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"calculateur d\u2019investissement - Juhayan2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Juhayan2026\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/JuhaynaDairy\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-09T15:07:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/\",\"url\":\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/\",\"name\":\"calculateur d\u2019investissement - Juhayan2026\",\"isPartOf\":{\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#website\"},\"datePublished\":\"2025-11-05T10:01:20+00:00\",\"dateModified\":\"2025-11-09T15:07:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/juhayna2026.code95.info\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"calculateur d\u2019investissement\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#website\",\"url\":\"https:\/\/juhayna2026.code95.info\/fr\/\",\"name\":\"Juhayan2026\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/juhayna2026.code95.info\/fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#organization\",\"name\":\"Juhayan2026\",\"url\":\"https:\/\/juhayna2026.code95.info\/fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/juhayna2026.code95.info\/app\/uploads\/2025\/09\/1572854222_509_8296_msicon144x144.png\",\"contentUrl\":\"https:\/\/juhayna2026.code95.info\/app\/uploads\/2025\/09\/1572854222_509_8296_msicon144x144.png\",\"width\":144,\"height\":144,\"caption\":\"Juhayan2026\"},\"image\":{\"@id\":\"https:\/\/juhayna2026.code95.info\/fr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/JuhaynaDairy\/\",\"https:\/\/www.instagram.com\/juhaynaclassics\/?hl=en\",\"https:\/\/www.youtube.com\/channel\/UCDr8Hr5lbiXNoN7g59xHGsA\",\"https:\/\/www.linkedin.com\/company\/juhayna-food-industries\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"calculateur d\u2019investissement - Juhayan2026","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"fr_FR","og_type":"article","og_title":"calculateur d\u2019investissement - Juhayan2026","og_url":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/","og_site_name":"Juhayan2026","article_publisher":"https:\/\/www.facebook.com\/JuhaynaDairy\/","article_modified_time":"2025-11-09T15:07:04+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/","url":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/","name":"calculateur d\u2019investissement - Juhayan2026","isPartOf":{"@id":"https:\/\/juhayna2026.code95.info\/fr\/#website"},"datePublished":"2025-11-05T10:01:20+00:00","dateModified":"2025-11-09T15:07:04+00:00","breadcrumb":{"@id":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/juhayna2026.code95.info\/fr\/investment-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/juhayna2026.code95.info\/fr\/"},{"@type":"ListItem","position":2,"name":"calculateur d\u2019investissement"}]},{"@type":"WebSite","@id":"https:\/\/juhayna2026.code95.info\/fr\/#website","url":"https:\/\/juhayna2026.code95.info\/fr\/","name":"Juhayan2026","description":"","publisher":{"@id":"https:\/\/juhayna2026.code95.info\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/juhayna2026.code95.info\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/juhayna2026.code95.info\/fr\/#organization","name":"Juhayan2026","url":"https:\/\/juhayna2026.code95.info\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/juhayna2026.code95.info\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/juhayna2026.code95.info\/app\/uploads\/2025\/09\/1572854222_509_8296_msicon144x144.png","contentUrl":"https:\/\/juhayna2026.code95.info\/app\/uploads\/2025\/09\/1572854222_509_8296_msicon144x144.png","width":144,"height":144,"caption":"Juhayan2026"},"image":{"@id":"https:\/\/juhayna2026.code95.info\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/JuhaynaDairy\/","https:\/\/www.instagram.com\/juhaynaclassics\/?hl=en","https:\/\/www.youtube.com\/channel\/UCDr8Hr5lbiXNoN7g59xHGsA","https:\/\/www.linkedin.com\/company\/juhayna-food-industries\/"]}]}},"_links":{"self":[{"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/pages\/6686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/comments?post=6686"}],"version-history":[{"count":1,"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/pages\/6686\/revisions"}],"predecessor-version":[{"id":6688,"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/pages\/6686\/revisions\/6688"}],"wp:attachment":[{"href":"https:\/\/juhayna2026.code95.info\/fr\/wp-json\/wp\/v2\/media?parent=6686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}