{"id":3274,"date":"2014-06-09T14:15:16","date_gmt":"2014-06-09T12:15:16","guid":{"rendered":"http:\/\/www.softurion.com\/support\/en\/?p=3274"},"modified":"2026-11-11T12:47:00","modified_gmt":"2026-11-11T10:47:00","slug":"managing-stock-split","status":"publish","type":"post","link":"http:\/\/www.softurion.com\/support\/en\/2014\/06\/managing-stock-split\/","title":{"rendered":"Managing Stock Split"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"BudgetInMind: Managing Stock Split\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/4nRO5M0ZVXE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the recent Apple 7:1 stock split, you may wonder how you can manage this event within <strong>BudgetInMind<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This operation is in fact straightforward: If you hold <strong>V<\/strong> stock with an average cost of <strong>c<\/strong> and with a current market value of <strong>p<\/strong>, then a <strong>N:1<\/strong> stock split will simply transforms these variables into <strong>V.N<\/strong>, <strong>c\/N<\/strong> and <strong>p\/N<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yahoo finance API stores <span style=\"text-decoration: underline;\">historical quotes<\/span> on their servers, so even if the stock splits in a given day, the market closing price of the previous day remains the value before the split.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To take this into account in <strong>BudgetInMind<\/strong> and continue using the automatic download features, we simply need to mimic what occurred in real life:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">For every 1 stock you hold, you will receive N news stocks<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This translates into:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For each position with the given stock, sell all your quantities at pre-split cost.<\/li>\n\n\n\n<li>For each position with the given stock, buy N times your pre-split quantity at 1\/Nth of the cost.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1030\" height=\"266\" src=\"https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy-1030x266.png\" alt=\"\" class=\"wp-image-3277\" srcset=\"https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy-1030x266.png 1030w, https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy-300x77.png 300w, https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy-705x182.png 705w, https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy-450x116.png 450w, https:\/\/www.softurion.com\/support\/en\/wp-content\/uploads\/sites\/2\/2014\/06\/SP-4Buy.png 1177w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><figcaption class=\"wp-element-caption\">Managing Stock Split<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The following files contain database examples before and after the stock split:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.softurion.com\/products\/examples\/\">Pre_StockSplit.dbim.zip<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.softurion.com\/products\/examples\/\">Post_StockSplit.dbim.zip<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the recent Apple 7:1 stock split, you may wonder how you can manage this event within BudgetInMind. This operation is in fact straightforward: If you hold V stock with an average cost of c and with a current market value of p, then a N:1 stock split will simply transforms these variables into V.N, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3616,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,1],"tags":[],"class_list":["post-3274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-support"],"_links":{"self":[{"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/posts\/3274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/comments?post=3274"}],"version-history":[{"count":4,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/posts\/3274\/revisions"}],"predecessor-version":[{"id":3612,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/posts\/3274\/revisions\/3612"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/media\/3616"}],"wp:attachment":[{"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/media?parent=3274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/categories?post=3274"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.softurion.com\/support\/en\/wp-json\/wp\/v2\/tags?post=3274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}