{"id":199212,"date":"2023-11-21T09:56:05","date_gmt":"2023-11-21T14:56:05","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=199212"},"modified":"2023-11-21T09:56:35","modified_gmt":"2023-11-21T14:56:35","slug":"construction-of-sofr-index-from-sofr-rates","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/","title":{"rendered":"Construction of SOFR Index from SOFR Rates"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This post replicates the construction process of the SOFR index from daily SOFR rates. Since this index is published in a daily basis officially, there is no need to make it. But in the process of pricing SOFR swaps and floating rate notes, this sort of calculation is needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-introduction\">Introduction<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">LIBOR will transition to an alternative reference rate. The SOFR(Secured Overnight Financing Rate) is the risk-free alternative reference rates for USD and is an in-arrears rate. Unlike LIBOR, SOFR is a secured overnight rate, not a forward looking term rate. SOFR Averages (30-, 90-, and 180-calendar days) are constructed by the geometric average of the daily rates. There are two method to make them. The first is to use the daily rate directly and the second is to use the SOFR index.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before going into SOFR Averages, we will calculate SOFR Index at first. The following pages are the information regarding the SOFR.<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><em>Additional Information about Reference Rates Administered by the New York Fed<\/em>&nbsp;(https:\/\/www.newyorkfed.org\/markets\/reference-rates\/additional-information-about-reference-rates#sofr_ai_calculation_methodology)<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><em>SOFR Averages and Index Data<\/em>&nbsp;(https:\/\/www.newyorkfed.org\/markets\/reference-rates\/sofr-averages-and-index#historical-search)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Daily SOFR rates can be downloaded at the following page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Secured Overnight Financing Rate (SOFR)<\/em>&nbsp;(https:\/\/fred.stlouisfed.org\/series\/SOFR)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We try to replicate the SOFR index from the following page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Daily indicative SOFR averages and index<\/em> (Apr. 2018 &#8211; Feb. 2020)&nbsp;(https:\/\/www.newyorkfed.org\/medialibrary\/media\/markets\/historical_indicative_sofr_avg_ind_data.xlsx)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The above excel file have the following form (to get all visible rows of averages, some selected rows are hidden)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"565\" height=\"364\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-4.png\" alt=\"\" class=\"wp-image-199221 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-4.png 565w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-4-300x193.png 300w\" data-sizes=\"(max-width: 565px) 100vw, 565px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 565px; aspect-ratio: 565\/364;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Before going into the detail, It is important to distinguish between publication date and value date (date of rate). SOFR rate available at publication date is the rate which is determined at previous business date(value date). If there is no holiday and weekend in between, the publication date is the time&nbsp;<em><strong>t<\/strong><\/em>&nbsp;and the previous business date is the time<em>&nbsp;<strong>t\u22121<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The SOFR Index measures the cumulative index of compounding the SOFR on a unit of investment over time, with the initial value set to 1.00000000 on April 2, 2018, the first value date of the SOFR. The Index is compounded by the value of each SOFR thereafter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"588\" height=\"107\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-2.png\" alt=\"\" class=\"wp-image-199217 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-2.png 588w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-2-300x55.png 300w\" data-sizes=\"(max-width: 588px) 100vw, 588px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 588px; aspect-ratio: 588\/107;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here,&nbsp;<em><strong>i<\/strong><\/em>&nbsp;denotes a sequential business day from April, 3, 2018 to&nbsp;<em><strong>t<\/strong><\/em>.&nbsp;<em><strong>SOFR<sub>i<\/sub><\/strong><\/em>&nbsp;is the SOFR applicable on business day <em><strong>i<\/strong><\/em> and&nbsp;<em><strong>n<sub>i<\/sub><\/strong><\/em>&nbsp;is the number of calendar days for which&nbsp;<em><strong>SOFR<sub>i<\/sub><\/strong><\/em>&nbsp;applies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From this SOFR Index, SOFR averages can be calculated using the following formula.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"569\" height=\"126\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-3.png\" alt=\"\" class=\"wp-image-199218 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-3.png 569w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/11\/sofr_index_data-shfintech-3-300x66.png 300w\" data-sizes=\"(max-width: 569px) 100vw, 569px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 569px; aspect-ratio: 569\/126;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here,&nbsp;<strong><em>x<\/em><\/strong>&nbsp;and&nbsp;<strong><em>y<\/em><\/strong>&nbsp;are the start and end date of calculation period respectively.&nbsp;<strong><em>dc<\/em><\/strong>&nbsp;is the number of calendar dates in the calculation period.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can calculate the SOFR index from the daily SOFR rates using the following R code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#=========================================================================#\n# Financial Econometrics &amp; Derivatives, ML\/DL using R, Python, Tensorflow  \n# by Sang-Heon Lee \n#-------------------------------------------------------------------------#\n# Calculation of SOFR Index from Daily SOFR Rates\n#=========================================================================#\n \n# construction of data frame\ndf &lt;- data.frame(rbind(\n    c(\"2018-04-02\",    1.00000000,    1.80),\n    c(\"2018-04-03\",    1.00005000,    1.83),\n    c(\"2018-04-04\",    1.00010084,    1.74),\n    c(\"2018-04-05\",    1.00014917,    1.75),\n    c(\"2018-04-06\",    1.00019779,    1.75),\n    c(\"2018-04-09\",    1.00034365,    1.75),\n    c(\"2018-04-10\",    1.00039228,    1.75),\n    c(\"2018-04-11\",    1.00044091,    1.76),\n    c(\"2018-04-12\",    1.00048982,    1.73),\n    c(\"2018-04-13\",    1.00053790,    1.72),\n    c(\"2018-04-16\",    1.00068131,    1.77),\n    c(\"2018-04-17\",    1.00073051,    1.76),\n    c(\"2018-04-18\",    1.00077944,    1.75),\n    c(\"2018-04-19\",    1.00082809,    1.73),\n    c(\"2018-04-20\",    1.00087618,    1.72),\n    c(\"2018-04-23\",    1.00101964,    1.70)))\n    \ncolnames(df) &lt;- c(\"Pub_Date\",\"SOFR_Index\", \"SOFR_Rate\")\n \n# string to date format\ndf$Pub_Date   &lt;- as.Date(df$Pub_Date)\ndf$SOFR_Index &lt;- as.numeric(df$SOFR_Index)\ndf$SOFR_Rate  &lt;- as.numeric(df$SOFR_Rate)\n \nfor(i in 1:nrow(df)) {\n    if (i==1) {\n        df$Calc_Index[i] = 1\n    } else {\n        ni = as.numeric(df$Pub_Date[i] - df$Pub_Date[i-1])\n        df$Calc_Index[i] = df$Calc_Index[i-1]*\n                           (1+df$SOFR_Rate[i-1]\/100*ni\/360)\n    }\n}\n \n# rounding at 8-decimal\ndf$Calc_Index &lt;- round(df$Calc_Index,8)\n \n# print df\nprint(df)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the above R code, data.frame (df) have all data as string formats because Pub_Date is of a string type. Therefore type recast is applied. The content of rest of code is the implementation of the SOFR Index by its formula. The following result shows that Calc_Index (the right most column of df) is the same as the SOFR_Index.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&gt; print(df)\n     Pub_Date SOFR_Index SOFR_Rate Calc_Index\n1  2018-04-02   1.000000      1.80   1.000000\n2  2018-04-03   1.000050      1.83   1.000050\n3  2018-04-04   1.000101      1.74   1.000101\n4  2018-04-05   1.000149      1.75   1.000149\n5  2018-04-06   1.000198      1.75   1.000198\n6  2018-04-09   1.000344      1.75   1.000344\n7  2018-04-10   1.000392      1.75   1.000392\n8  2018-04-11   1.000441      1.76   1.000441\n9  2018-04-12   1.000490      1.73   1.000490\n10 2018-04-13   1.000538      1.72   1.000538\n11 2018-04-16   1.000681      1.77   1.000681\n12 2018-04-17   1.000731      1.76   1.000731\n13 2018-04-18   1.000779      1.75   1.000779\n14 2018-04-19   1.000828      1.73   1.000828\n15 2018-04-20   1.000876      1.72   1.000876\n16 2018-04-23   1.001020      1.70   1.001020\n&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Next time, we will make SOFR averages from the SOFR index. After that, we try to get the same results from the direct use of SOFR rates successively.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Originally posted on <a href=\"https:\/\/shleeai.blogspot.com\/2021\/05\/construction-of-sofr-index-from-sofr.html\">SHLee AI Financial Model<\/a> blog.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post replicates the construction process of the SOFR index from daily SOFR rates<\/p>\n","protected":false},"author":662,"featured_media":190524,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[339,343,338,341,342],"tags":[806,4922,487,6591],"contributors-categories":[13728],"class_list":["post-199212","post","type-post","status-publish","format-standard","has-post-thumbnail","category-data-science","category-programing-languages","category-ibkr-quant-news","category-quant-development","category-r-development","tag-data-science","tag-econometrics","tag-r","tag-rstats","contributors-categories-sh-fintech-modeling"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v28.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Construction of SOFR Index from SOFR Rates | IBKR Quant<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/199212\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Construction of SOFR Index from SOFR Rates | IBKR Campus US\" \/>\n<meta property=\"og:description\" content=\"This post replicates the construction process of the SOFR index from daily SOFR rates\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-21T14:56:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-21T14:56:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sang-Heon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sang-Heon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Sang-Heon Lee\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0a959ff9de7f0465a07baa1fe1ae0200\"\n\t            },\n\t            \"headline\": \"Construction of SOFR Index from SOFR Rates\",\n\t            \"datePublished\": \"2023-11-21T14:56:05+00:00\",\n\t            \"dateModified\": \"2023-11-21T14:56:35+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/\"\n\t            },\n\t            \"wordCount\": 585,\n\t            \"commentCount\": 0,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/r-programming-computer-teal-background.jpg\",\n\t            \"keywords\": [\n\t                \"Data Science\",\n\t                \"Econometrics\",\n\t                \"R\",\n\t                \"rstats\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Quant\",\n\t                \"Quant Development\",\n\t                \"R Development\"\n\t            ],\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"CommentAction\",\n\t                    \"name\": \"Comment\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#respond\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/\",\n\t            \"name\": \"Construction of SOFR Index from SOFR Rates | IBKR Campus US\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/r-programming-computer-teal-background.jpg\",\n\t            \"datePublished\": \"2023-11-21T14:56:05+00:00\",\n\t            \"dateModified\": \"2023-11-21T14:56:35+00:00\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/construction-of-sofr-index-from-sofr-rates\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/r-programming-computer-teal-background.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/r-programming-computer-teal-background.jpg\",\n\t            \"width\": 1000,\n\t            \"height\": 563,\n\t            \"caption\": \"R Programming\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0a959ff9de7f0465a07baa1fe1ae0200\",\n\t            \"name\": \"Sang-Heon Lee\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/sang-heonlee\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Construction of SOFR Index from SOFR Rates | IBKR Quant","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/199212\/","og_locale":"en_US","og_type":"article","og_title":"Construction of SOFR Index from SOFR Rates | IBKR Campus US","og_description":"This post replicates the construction process of the SOFR index from daily SOFR rates","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/","og_site_name":"IBKR Campus US","article_published_time":"2023-11-21T14:56:05+00:00","article_modified_time":"2023-11-21T14:56:35+00:00","og_image":[{"width":1000,"height":563,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","type":"image\/jpeg"}],"author":"Sang-Heon Lee","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sang-Heon Lee","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/"},"author":{"name":"Sang-Heon Lee","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0a959ff9de7f0465a07baa1fe1ae0200"},"headline":"Construction of SOFR Index from SOFR Rates","datePublished":"2023-11-21T14:56:05+00:00","dateModified":"2023-11-21T14:56:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/"},"wordCount":585,"commentCount":0,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","keywords":["Data Science","Econometrics","R","rstats"],"articleSection":["Data Science","Programming Languages","Quant","Quant Development","R Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/","name":"Construction of SOFR Index from SOFR Rates | IBKR Campus US","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","datePublished":"2023-11-21T14:56:05+00:00","dateModified":"2023-11-21T14:56:35+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/construction-of-sofr-index-from-sofr-rates\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","width":1000,"height":563,"caption":"R Programming"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0a959ff9de7f0465a07baa1fe1ae0200","name":"Sang-Heon Lee","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/sang-heonlee\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/05\/r-programming-computer-teal-background.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/199212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/662"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=199212"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/199212\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/190524"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=199212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=199212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=199212"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=199212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}