{"id":5362,"date":"2024-03-25T15:06:39","date_gmt":"2024-03-25T15:06:39","guid":{"rendered":"https:\/\/eodhd.com\/financial-academy\/?p=5362"},"modified":"2024-07-24T16:12:21","modified_gmt":"2024-07-24T16:12:21","slug":"portfolio-risk-analytics-using-google-sheets","status":"publish","type":"post","link":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets","title":{"rendered":"Portfolio Risk Analytics using Google Sheets"},"content":{"rendered":"\n<p>Managing <a href=\"https:\/\/www.investopedia.com\/articles\/pf\/06\/riskyportfolio.asp\" target=\"_blank\" rel=\"noreferrer noopener\">portfolio risk<\/a> is essential for making informed investment decisions and optimizing returns. EOD Historical Data provides a comprehensive suite of financial APIs that seamlessly integrate with Google Sheets, enabling users to perform in-depth portfolio risk analytics. In this step-by-step guide, we&#8217;ll walk you through the process of building a portfolio risk analytics spreadsheet using EODHD&#8217;s APIs and Google Sheets.<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1VAMp1hbeDDP7HMiRW-xabjsFf7iHqh4iDLtnwTyBLfY\/edit?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">Example of the spreadsheet<\/a>.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Register &amp; Get Data<\/span><\/a><\/p>\n\n\n\n<p>You can also check our guides for <a href=\"https:\/\/eodhd.com\/financial-academy\/stocks-data-processing-examples\/how-to-create-a-stock-market-dashboard-in-google-sheets\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stock Market Dashboard in Google Sheets<\/a>, <a href=\"https:\/\/eodhd.com\/financial-academy\/portfolio-performance-examples\/how-to-create-a-google-sheets-stock-portfolio\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Sheets Portfolio Tracker<\/a>, and <a href=\"https:\/\/eodhd.com\/financial-apis\/google-sheets-financial-add-in-for-eod-fundamentals-data\/\" target=\"_blank\" rel=\"noreferrer noopener\">EODHD Google Sheets Add-in<\/a>. Here you&#8217;ll find more information on our <a href=\"https:\/\/eodhd.com\/financial-apis\/category\/stock-prices-solutions\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ready-to-Go<\/a> solutions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-import-portfolio-holdings\">Import Portfolio Holdings <\/h2>\n\n\n\n<p>First, get your hands on our <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1VAMp1hbeDDP7HMiRW-xabjsFf7iHqh4iDLtnwTyBLfY\/edit?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">sample spreadsheet<\/a>. Make a copy of the spreadsheet in your Google Drive by clicking on &#8220;File&#8221; &gt; &#8220;Make a copy.&#8221; This ensures that you can customize the spreadsheet to your needs, and your changes won&#8217;t affect the original spreadsheet.<\/p>\n\n\n\n<p>You can start by setting up a table with columns for &#8220;Ticker,&#8221; &#8220;Quantity,&#8221; and &#8220;Purchase Price.&#8221; Manually enter your portfolio holdings or use EODHD&#8217;s <a href=\"https:\/\/eodhd.com\/financial-apis\/google-sheets-financial-add-in-for-eod-fundamentals-data\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Sheets Add-On<\/a> to import your data automatically.<\/p>\n\n\n\n<p>You can access the list of supported exchanges via <a href=\"https:\/\/eodhd.com\/financial-apis\/exchanges-api-list-of-tickers-and-trading-hours\/\" target=\"_blank\" rel=\"noreferrer noopener\">Exchanges API<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/eodhd.com\/api\/exchanges-list\/?api_token={your_api_token}&amp;fmt=json<\/pre>\n\n\n\n<p>And for the list of tickers Exchange Symbol List API:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/eodhd.com\/api\/exchange-symbol-list\/{EXCHANGE_CODE}?api_token={your_api_token}&amp;fmt=json<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-retrieve-historical-prices\">Retrieve Historical Prices <\/h2>\n\n\n\n<p>To calculate risk metrics, you&#8217;ll need historical price data for each asset in your portfolio. Use the IMPORTDATA function in Google Sheets to pull data from EODHD&#8217;s End-of-Day Historical Data API. The API endpoint for historical data is: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><a href=\"https:\/\/eodhistoricaldata.com\/api\/eod\/%7Bticker%7D?api_token=%7Byour_api_token%7D&amp;period=d\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/eodhd.com\/api\/eod\/{ticker}?api_token={your_api_token}&amp;period=d<\/a><\/pre>\n\n\n\n<p>Replace {ticker} with the ticker symbol and {your_api_token} with your EODHD API token. The function should look like this: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=IMPORTDATA(\"https:\/\/eodhd.com\/api\/eod\/AAPL.US?api_token=your_api_token&amp;period=d\")<\/pre>\n\n\n\n<p>Later you can use an array of values from the API output to calculate necessary metrics. To declare variables in Google Sheets you can use the <a href=\"https:\/\/support.google.com\/docs\/answer\/13190535?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">&#8220;=LET()&#8221;<\/a> function. It will make cell&#8217;s formulas with multiple API calls more readable, as well as allow you to not call the API multiple times.<\/p>\n\n\n\n<p>The &#8220;=ARRAYFORMULA()&#8221; cell formula could be used to perform calculations on an imported array in the cell. <\/p>\n\n\n\n<p>An example of the use of <a href=\"https:\/\/support.google.com\/docs\/answer\/13190535?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">&#8220;=LET()&#8221;<\/a> and &#8220;<a href=\"https:\/\/support.google.com\/docs\/answer\/3093275?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">=ARRAYFORMULA()<\/a>&#8221; together with the API call for EOD data:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=LET( apiData, ARRAYFORMULA(VALUE(TRANSPOSE(IMPORTDATA(\"https:\/\/eodhd.com\/api\/eod\/{ticker}?api_token={your_api_token}&amp;fmt=json&amp;filter=open\")))), SUMIF(apiData, \"&gt;0\")\/ COUNTIF(apiData, \"&gt;0\") )<\/pre>\n\n\n\n<p>In the cell formula, we declare the &#8220;apiData&#8221; variable, which could be used for in-cell calculations. The formula calculates the average price of the stock.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-calculate-portfolio-returns\">Calculate Portfolio Returns <\/h2>\n\n\n\n<p>For the current portfolio return, you need to retrieve live data. The current price is available via <a href=\"https:\/\/eodhd.com\/financial-apis\/live-realtime-stocks-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">Live(Delayed) API<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/eodhd.com\/api\/real-time\/{ticker}?api_token={your_api_token}&amp;fmt=json<\/pre>\n\n\n\n<p>The formula for the portfolio return is:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=(Price_Today - Price_Bought) \/ Price_Bought<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"282\" src=\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Animation.gif\" alt=\"Portfolio Risk Analytics using EODHD's APIs and Google Sheets\" class=\"wp-image-5367\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-measure-portfolio-volatility\">Measure Portfolio Volatility<\/h2>\n\n\n\n<p>The formula for portfolio <a href=\"https:\/\/www.investopedia.com\/terms\/v\/volatility.asp\" target=\"_blank\" rel=\"noreferrer noopener\">volatility<\/a> (assuming there is no correlation between components):<\/p>\n\n\n\n<p>Portfolio Volatility = sqrt(\u03a3(w_i * (\u03c3_i * sqrt(T)))) <\/p>\n\n\n\n<p>where:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>w_i is the weight (proportion) of component i in the portfolio<\/li>\n\n\n\n<li>\u03c3_i is the volatility (standard deviation) of component I<\/li>\n\n\n\n<li>T is the number of periods in the time horizon (e.g., 252 trading days)<\/li>\n<\/ul>\n\n\n\n<p>The formula for Component Volatility:<\/p>\n\n\n\n<p>Component Volatility = \u03c3_i * sqrt(T)<\/p>\n\n\n\n<p>The Google Sheets cell formula for component volatility would be:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=LET(apiData, ARRAYFORMULA(IFERROR(VALUE(IMPORTDATA(\"https:\/\/eodhd.com\/api\/eod\/{ticker}?api_token={your_api_token}&amp;fmt=csv&amp;filter=open&amp;order=d\"))),0)), prevData, QUERY(apiData, \"SELECT * OFFSET 2\", 0), currentData, QUERY(apiData, \"SELECT * OFFSET 1\", 0), change,IFERROR(ARRAYFORMULA((currentData - prevData)\/prevData),0), STDEV(change)*SQRT(COUNT(change)))<\/pre>\n\n\n\n<p>The formula uses the LET function to break down a complex calculation into smaller, more manageable steps. Here&#8217;s what the formula does:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Imports data from a specified URL using IMPORTDATA, based on input parameters such as symbol, exchange, API token, and start date.<\/li>\n\n\n\n<li>Converts the imported data into numeric values using VALUE and replaces any errors with 0 using IFERROR.<\/li>\n\n\n\n<li>Extracts the previous and current data points from the imported data using the QUERY function, skipping the first two rows for previous data and the first row for current data.<\/li>\n\n\n\n<li>Calculates the percent change between the current and previous data points using ARRAYFORMULA and replaces any division errors with 0 using IFERROR.<\/li>\n\n\n\n<li>Calculates the annualized volatility of the percent changes by taking the standard deviation of the changes (using STDEV) and multiplying it by the square root of the count of values (using SQRT and COUNT).<\/li>\n<\/ol>\n\n\n\n<p>The final result is the annualized volatility of the percent changes between the current and previous data points, based on the imported data and the specified input parameters.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"282\" src=\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Volatility_Google_Sheets.gif\" alt=\"Portfolio Risk Analytics using EODHD's APIs and Google Sheets\" class=\"wp-image-5368\" \/><\/figure>\n\n\n\n<p>You can also use <a href=\"https:\/\/eodhd.com\/financial-apis\/technical-indicators-api\/#Volatility_Variance_between_returns\" target=\"_blank\" rel=\"noreferrer noopener\">EODHD Technical API<\/a> to get components&#8217; <a href=\"https:\/\/eodhd.com\/financial-apis\/technical-indicators-api\/#Volatility_Variance_between_returns\">volatility<\/a> and <a href=\"https:\/\/eodhd.com\/financial-apis\/technical-indicators-api\/#Standard_Deviation_stddev\" target=\"_blank\" rel=\"noreferrer noopener\">standard deviation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-calculate-beta\">Calculate Beta <\/h2>\n\n\n\n<p>Retrieve beta values for individual stocks using <a href=\"https:\/\/eodhd.com\/financial-apis\/technical-indicators-api\/#BETA\" target=\"_blank\" rel=\"noreferrer noopener\">EODHD&#8217;s Technical Indicators API<\/a>. Use the IMPORTDATA function to pull beta values into your spreadsheet: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=importdata(\"https:\/\/eodhd.com\/api\/technical\/{ticker}?function=beta&amp;api_token={your_api_key}&amp;fmt=json&amp;filter=last_beta\")<\/pre>\n\n\n\n<p>The formula retrieves the current beta value for the ticker.<\/p>\n\n\n\n<p>Calculate the weighted average beta of your portfolio using the SUMPRODUCT function: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=SUMPRODUCT(portfolio_weights_array,curent_beta)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-assess-value-at-risk-var\">Assess Value at Risk (VaR)<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.investopedia.com\/terms\/v\/var.asp\" target=\"_blank\" rel=\"noreferrer noopener\">Value at risk (VaR)<\/a> is a statistic that quantifies the extent of possible financial losses within a firm, portfolio, or position over a specific time frame. Investment and commercial banks commonly use this metric to determine the extent and probabilities of potential losses in their institutional portfolios.<\/p>\n\n\n\n<p>To calculate <a href=\"https:\/\/www.investopedia.com\/terms\/v\/var.asp\" target=\"_blank\" rel=\"noreferrer noopener\">VaR<\/a>, use the NORM.INV and PERCENTILE functions in Google Sheets. First, calculate the mean and standard deviation of your portfolio&#8217;s daily returns. <\/p>\n\n\n\n<p>Mean: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=AVERAGE(Portfolio_Daily_Returns) <\/pre>\n\n\n\n<p>Standard Deviation: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=STDEV(Portfolio_Daily_Returns)<\/pre>\n\n\n\n<p>Then, calculate VaR using the formula: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=NORM.INV(1-Confidence_Level, Mean, Standard_Deviation)<\/pre>\n\n\n\n<p>Replace Confidence_Level with your desired confidence level (e.g., 0.95 for 95% confidence).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-visualize-risk-metrics\">Visualize Risk Metrics <\/h2>\n\n\n\n<p>Use Google Sheets&#8217; charting tools to visualize your portfolio&#8217;s risk metrics. <br>You can create a sparkline chart to display the historical return volatility: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=sparkline(LET( apiData, ARRAYFORMULA(IFERROR(VALUE(IMPORTDATA(\"https:\/\/eodhd.com\/api\/eod\/\"&amp;B11&amp;\".\"&amp;$B$5&amp;\"?api_token={your_api_key}&amp;fmt=csv&amp;filter=open&amp;order=d&amp;from={date}\")),0)), prevData, QUERY(apiData, \"SELECT * OFFSET 2\", 0), currentData, QUERY(apiData, \"SELECT * OFFSET 1\", 0),IFERROR(ARRAYFORMULA((currentData - prevData)\/prevData),0) ))<\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"284\" src=\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/sparkline_performance_distribution.gif\" alt=\"Portfolio Risk Analytics using EODHD's APIs and Google Sheets\" class=\"wp-image-5366\" style=\"width:699px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p>To plot sparkling for historical price performance:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=SPARKLINE(IMPORTDATA(\"https:\/\/eodhd.com\/api\/eod\/{ticker}?api_token={your_api_key}&amp;fmt=csv&amp;filter=open&amp;order=d&amp;from={date}))<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p>By following these steps and leveraging EOD Historical Data&#8217;s APIs, you can build a powerful portfolio risk analytics tool in Google Sheets. This spreadsheet will enable you to calculate key risk metrics, visualize your portfolio&#8217;s risk profile, and make data-driven investment decisions. Remember to regularly update your portfolio holdings, retrieve the latest data from EODHD&#8217;s APIs, and monitor your risk metrics to stay on top of your portfolio&#8217;s performance.<\/p>\n\n\n\n<p>Don&#8217;t miss out on this game-changing opportunity. Sign up for an EODHD API account today and unlock the full potential of API data integration.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Register &amp; Get Data<\/span><\/a><\/p>\n\n\n\n<p>Feel free to contact our support to ask for the current discounts, we would be happy to assist and guide you: <a href=\"mailto:support@eodhistoricaldata.com\" target=\"_blank\" rel=\"noreferrer noopener\">support@eodhistoricaldata.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing portfolio risk is essential for making informed investment decisions and optimizing returns. EOD Historical Data provides a comprehensive suite of financial APIs that seamlessly integrate with Google Sheets, enabling users to perform in-depth portfolio risk analytics. In this step-by-step guide, we&#8217;ll walk you through the process of building a portfolio risk analytics spreadsheet using [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":5364,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,43,77,42,48],"tags":[85,83,90],"coding-language":[],"ready-to-go-solution":[58],"qualification":[33],"financial-apis-category":[36],"financial-apis-manuals":[39,73],"class_list":["post-5362","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fundamental-analysis-examples","category-how-to-get-stocks-data-examples","category-portfolio-performance-examples","category-stocks-data-analysis-examples","category-stocks-data-processing-examples","tag-financial-data-spreadsheets","tag-google-sheets-portfolio","tag-trading-strategy","ready-to-go-solution-google-sheets-add-in","qualification-newbie","financial-apis-category-stock-market-prices","financial-apis-manuals-end-of-day","financial-apis-manuals-live-delayed-15-mins","has_thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.9 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Portfolio Risk Analytics using Google Sheets | EODHD APIs Academy<\/title>\n<meta name=\"description\" content=\"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Portfolio Risk Analytics using Google Sheets\" \/>\n<meta property=\"og:description\" content=\"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\" \/>\n<meta property=\"og:site_name\" content=\"Financial Academy\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eodhistoricaldata\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-25T15:06:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-24T16:12:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Andrei Paulavets\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:site\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andrei Paulavets\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#article\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\"},\"author\":{\"name\":\"Andrei Paulavets\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/beb3cf1cd77acbb7720cda8c63e5565e\"},\"headline\":\"Portfolio Risk Analytics using Google Sheets\",\"datePublished\":\"2024-03-25T15:06:39+00:00\",\"dateModified\":\"2024-07-24T16:12:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\"},\"wordCount\":991,\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#organization\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg\",\"keywords\":[\"financial data spreadsheets\",\"Google sheets portfolio\",\"Trading strategy\"],\"articleSection\":[\"Fundamental Analysis Examples\",\"How to Get Stocks Data Examples\",\"Portfolio Performance Examples\",\"Stocks Data Analysis Examples\",\"Stocks Data Processing Examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\",\"url\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\",\"name\":\"Portfolio Risk Analytics using Google Sheets | EODHD APIs Academy\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg\",\"datePublished\":\"2024-03-25T15:06:39+00:00\",\"dateModified\":\"2024-07-24T16:12:21+00:00\",\"description\":\"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.\",\"breadcrumb\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage\",\"url\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg\",\"width\":1536,\"height\":1024,\"caption\":\"Risk Management\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eodhd.com\/financial-academy\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Portfolio Risk Analytics using Google Sheets\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#website\",\"url\":\"https:\/\/eodhd.com\/financial-academy\/\",\"name\":\"Financial APIs Academy | EODHD\",\"description\":\"Financial Stock Market Academy\",\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eodhd.com\/financial-academy\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#organization\",\"name\":\"EODHD (EOD Historical Data)\",\"url\":\"https:\/\/eodhd.com\/financial-academy\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"width\":159,\"height\":82,\"caption\":\"EODHD (EOD Historical Data)\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/eodhistoricaldata\",\"https:\/\/x.com\/EOD_data\",\"https:\/\/www.reddit.com\/r\/EODHistoricalData\/\",\"https:\/\/eod-historical-data.medium.com\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/beb3cf1cd77acbb7720cda8c63e5565e\",\"name\":\"Andrei Paulavets\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7ac21633a5988e5054e9edbe412f1f07957970ee6e9f6dbada15224224cdd2c9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7ac21633a5988e5054e9edbe412f1f07957970ee6e9f6dbada15224224cdd2c9?s=96&d=mm&r=g\",\"caption\":\"Andrei Paulavets\"},\"description\":\"Investment professional with a strong engineering background, leveraging diverse background and risk managment experience to enhance investor financial analysis and data-driven decision-making in financial markets.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/andreipaulavets\"],\"url\":\"https:\/\/eodhd.com\/financial-academy\/author\/andrew-eodhd\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Portfolio Risk Analytics using Google Sheets | EODHD APIs Academy","description":"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.","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:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets","og_locale":"en_US","og_type":"article","og_title":"Portfolio Risk Analytics using Google Sheets","og_description":"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.","og_url":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets","og_site_name":"Financial Academy","article_publisher":"https:\/\/www.facebook.com\/eodhistoricaldata","article_published_time":"2024-03-25T15:06:39+00:00","article_modified_time":"2024-07-24T16:12:21+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","type":"image\/jpeg"}],"author":"Andrei Paulavets","twitter_card":"summary_large_image","twitter_creator":"@EOD_data","twitter_site":"@EOD_data","twitter_misc":{"Written by":"Andrei Paulavets","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#article","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets"},"author":{"name":"Andrei Paulavets","@id":"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/beb3cf1cd77acbb7720cda8c63e5565e"},"headline":"Portfolio Risk Analytics using Google Sheets","datePublished":"2024-03-25T15:06:39+00:00","dateModified":"2024-07-24T16:12:21+00:00","mainEntityOfPage":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets"},"wordCount":991,"publisher":{"@id":"https:\/\/eodhd.com\/financial-academy\/#organization"},"image":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","keywords":["financial data spreadsheets","Google sheets portfolio","Trading strategy"],"articleSection":["Fundamental Analysis Examples","How to Get Stocks Data Examples","Portfolio Performance Examples","Stocks Data Analysis Examples","Stocks Data Processing Examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets","url":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets","name":"Portfolio Risk Analytics using Google Sheets | EODHD APIs Academy","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-academy\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage"},"image":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","datePublished":"2024-03-25T15:06:39+00:00","dateModified":"2024-07-24T16:12:21+00:00","description":"How to incorporate risk analysis metrics into your Google Sheets. Feel free to copy our free sample portfolio spreadsheet.","breadcrumb":{"@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#primaryimage","url":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","contentUrl":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","width":1536,"height":1024,"caption":"Risk Management"},{"@type":"BreadcrumbList","@id":"https:\/\/eodhd.com\/financial-academy\/fundamental-analysis-examples\/portfolio-risk-analytics-using-google-sheets#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eodhd.com\/financial-academy\/"},{"@type":"ListItem","position":2,"name":"Portfolio Risk Analytics using Google Sheets"}]},{"@type":"WebSite","@id":"https:\/\/eodhd.com\/financial-academy\/#website","url":"https:\/\/eodhd.com\/financial-academy\/","name":"Financial APIs Academy | EODHD","description":"Financial Stock Market Academy","publisher":{"@id":"https:\/\/eodhd.com\/financial-academy\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eodhd.com\/financial-academy\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eodhd.com\/financial-academy\/#organization","name":"EODHD (EOD Historical Data)","url":"https:\/\/eodhd.com\/financial-academy\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-academy\/#\/schema\/logo\/image\/","url":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","contentUrl":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","width":159,"height":82,"caption":"EODHD (EOD Historical Data)"},"image":{"@id":"https:\/\/eodhd.com\/financial-academy\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eodhistoricaldata","https:\/\/x.com\/EOD_data","https:\/\/www.reddit.com\/r\/EODHistoricalData\/","https:\/\/eod-historical-data.medium.com\/"]},{"@type":"Person","@id":"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/beb3cf1cd77acbb7720cda8c63e5565e","name":"Andrei Paulavets","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-academy\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7ac21633a5988e5054e9edbe412f1f07957970ee6e9f6dbada15224224cdd2c9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ac21633a5988e5054e9edbe412f1f07957970ee6e9f6dbada15224224cdd2c9?s=96&d=mm&r=g","caption":"Andrei Paulavets"},"description":"Investment professional with a strong engineering background, leveraging diverse background and risk managment experience to enhance investor financial analysis and data-driven decision-making in financial markets.","sameAs":["https:\/\/www.linkedin.com\/in\/andreipaulavets"],"url":"https:\/\/eodhd.com\/financial-academy\/author\/andrew-eodhd"}]}},"jetpack_featured_media_url":"https:\/\/eodhd.com\/financial-academy\/wp-content\/uploads\/2024\/03\/Risks_Investment.jpg","jetpack_shortlink":"https:\/\/wp.me\/pdOdVT-1ou","jetpack_sharing_enabled":true,"acf":[],"_links":{"self":[{"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/posts\/5362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/comments?post=5362"}],"version-history":[{"count":14,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/posts\/5362\/revisions"}],"predecessor-version":[{"id":5430,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/posts\/5362\/revisions\/5430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/media\/5364"}],"wp:attachment":[{"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/media?parent=5362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/categories?post=5362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/tags?post=5362"},{"taxonomy":"coding-language","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/coding-language?post=5362"},{"taxonomy":"ready-to-go-solution","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/ready-to-go-solution?post=5362"},{"taxonomy":"qualification","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/qualification?post=5362"},{"taxonomy":"financial-apis-category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/financial-apis-category?post=5362"},{"taxonomy":"financial-apis-manuals","embeddable":true,"href":"https:\/\/eodhd.com\/financial-academy\/wp-json\/wp\/v2\/financial-apis-manuals?post=5362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}