<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Investment Portfolio with variable GICs interest rate - Find Weighted Average Interest Rate in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Investment-Portfolio-with-variable-GICs-interest-rate-Find/m-p/3250109#M42795</link>
    <description>&lt;P class=""&gt;Hello,&lt;/P&gt;&lt;P class=""&gt;Any help or lead is appreciated:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;My company has some investments in bonds/GIC.&lt;/P&gt;&lt;P class=""&gt;I have 2 tables: Bond Table and Transaction Table.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The Bond Table is built as follows:&lt;/P&gt;&lt;P class=""&gt;Bond Name // Start Date // End Date // Interest Rate&lt;/P&gt;&lt;P class=""&gt;Bond A // 2023-01-01 // 2023-06-30 // 0.045&lt;/P&gt;&lt;P class=""&gt;Bond A // 2023-07-01 // 2023-12-31 // 0.049&lt;/P&gt;&lt;P class=""&gt;Bond A // 2024-01-01 // 2024-08-15 // 0.035&lt;/P&gt;&lt;P class=""&gt;Bond B // 2022-01-01 // 2024-06-30 // 0.08&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The Transaction Table is built as follows:&lt;/P&gt;&lt;P class=""&gt;Transaction Date // Bond Name (Description) // Operations // Amount&lt;/P&gt;&lt;P class=""&gt;2023-01-01 // Bond A // Buy // (1,000)&lt;/P&gt;&lt;P class=""&gt;2023-05-01 // Bond A // Buy // (5,000)&lt;/P&gt;&lt;P class=""&gt;2023-06-01 // Bond A // Sell // 888&lt;/P&gt;&lt;P class=""&gt;2023-11-01 // Bond A // Buy // (499)&lt;/P&gt;&lt;P class=""&gt;2022-01-01 // Bond B // Buy // (1,000)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;(The cardinality between Bond and Transaction Table = many to many based on the relationship of Bond Name and Bond Name (Description))&lt;/P&gt;&lt;P class=""&gt;I was able to find the daily capital invested, which means how many $ is currently invested at a certain date. (Example, as of 2023-01-01, I have 2,000$ invested, but as of 2023-06-01, I have 6,112$ invested. Between 2023-01-01 &amp;amp; 2023-04-30, every day, I have 2,000$ in invested capital.)&lt;/P&gt;&lt;P class=""&gt;Right now, My objective is to find the weighted average daily interest rate (Example, as of 2023-01-01, my W.A Interest = 1,000$*0.045 (Bond A) + 1,000$*0.08 (Bond B) / Invested Capital of 2,000$ = 6.25% // but on 2023-07-01, my W.A Interest = 5,112$*0.049 + 1,000$*0.08 (Bond B) / Invested Capital of 6,112$ = 5.407%)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Any leads on how can I fund the daily W.A Interest Rate?&lt;/P&gt;&lt;P class=""&gt;It's a mix of date scaffold // event in progress, but I have multiple variables for each day (Bond Name, Bond Amount &amp;amp; Interest Rate)...and the fact that my cardinality is "Many to Many".&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 03:37:55 GMT</pubDate>
    <dc:creator>Hedman77</dc:creator>
    <dc:date>2023-05-24T03:37:55Z</dc:date>
    <item>
      <title>Investment Portfolio with variable GICs interest rate - Find Weighted Average Interest Rate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Investment-Portfolio-with-variable-GICs-interest-rate-Find/m-p/3250109#M42795</link>
      <description>&lt;P class=""&gt;Hello,&lt;/P&gt;&lt;P class=""&gt;Any help or lead is appreciated:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;My company has some investments in bonds/GIC.&lt;/P&gt;&lt;P class=""&gt;I have 2 tables: Bond Table and Transaction Table.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The Bond Table is built as follows:&lt;/P&gt;&lt;P class=""&gt;Bond Name // Start Date // End Date // Interest Rate&lt;/P&gt;&lt;P class=""&gt;Bond A // 2023-01-01 // 2023-06-30 // 0.045&lt;/P&gt;&lt;P class=""&gt;Bond A // 2023-07-01 // 2023-12-31 // 0.049&lt;/P&gt;&lt;P class=""&gt;Bond A // 2024-01-01 // 2024-08-15 // 0.035&lt;/P&gt;&lt;P class=""&gt;Bond B // 2022-01-01 // 2024-06-30 // 0.08&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The Transaction Table is built as follows:&lt;/P&gt;&lt;P class=""&gt;Transaction Date // Bond Name (Description) // Operations // Amount&lt;/P&gt;&lt;P class=""&gt;2023-01-01 // Bond A // Buy // (1,000)&lt;/P&gt;&lt;P class=""&gt;2023-05-01 // Bond A // Buy // (5,000)&lt;/P&gt;&lt;P class=""&gt;2023-06-01 // Bond A // Sell // 888&lt;/P&gt;&lt;P class=""&gt;2023-11-01 // Bond A // Buy // (499)&lt;/P&gt;&lt;P class=""&gt;2022-01-01 // Bond B // Buy // (1,000)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;(The cardinality between Bond and Transaction Table = many to many based on the relationship of Bond Name and Bond Name (Description))&lt;/P&gt;&lt;P class=""&gt;I was able to find the daily capital invested, which means how many $ is currently invested at a certain date. (Example, as of 2023-01-01, I have 2,000$ invested, but as of 2023-06-01, I have 6,112$ invested. Between 2023-01-01 &amp;amp; 2023-04-30, every day, I have 2,000$ in invested capital.)&lt;/P&gt;&lt;P class=""&gt;Right now, My objective is to find the weighted average daily interest rate (Example, as of 2023-01-01, my W.A Interest = 1,000$*0.045 (Bond A) + 1,000$*0.08 (Bond B) / Invested Capital of 2,000$ = 6.25% // but on 2023-07-01, my W.A Interest = 5,112$*0.049 + 1,000$*0.08 (Bond B) / Invested Capital of 6,112$ = 5.407%)&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Any leads on how can I fund the daily W.A Interest Rate?&lt;/P&gt;&lt;P class=""&gt;It's a mix of date scaffold // event in progress, but I have multiple variables for each day (Bond Name, Bond Amount &amp;amp; Interest Rate)...and the fact that my cardinality is "Many to Many".&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 03:37:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Investment-Portfolio-with-variable-GICs-interest-rate-Find/m-p/3250109#M42795</guid>
      <dc:creator>Hedman77</dc:creator>
      <dc:date>2023-05-24T03:37:55Z</dc:date>
    </item>
  </channel>
</rss>

