# Calculate a time series of local correlations?

**URL:** <https://community.wolfram.com/t/calculate-a-time-series-of-local-correlations/17223>\
**Category:** Questions\
**Tags:** finance, graphics-and-visualization\
**Created:** [December 18, 2020, 5:38pm UTC](https://community.wolfram.com/t/calculate-a-time-series-of-local-correlations/17223 "2020-12-18T17:38:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![posose7150](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@posose7150](https://community.wolfram.com/u/posose7150)\
**Post date:** [December 18, 2020, 5:38pm UTC](https://community.wolfram.com/t/calculate-a-time-series-of-local-correlations/17223/1 "2020-12-18T17:38:10Z")

</div>

Hello there Wolfram Community,

I have 2 lists with financial data for example yields and stock returns.  
Now I want to calculate the volatility and the correlation as it can be seen in the picture.  
I am very overwhelmed when trying this in Mathematica, so thanks already for any help!

(the black graph is correlation, the other ones are volatility)

 ![Problem1.jpeg](https://global.discourse-cdn.com/wolfram/original/2X/f/f21a65421b132ee5195f308331066bf69138db35.jpeg)
