+ Reply to Thread
Results 1 to 1 of 1

VBA to get rolling correlation for specific time window, 30 years daily data, 225 stocks

  1. #1
    Registered User
    Join Date
    06-30-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    29

    VBA to get rolling correlation for specific time window, 30 years daily data, 225 stocks

    Hi all, I have to get rolling correlations for stocks over a period of 30+ years (1980 to today) based on daily price data.

    The number of stocks I'm looking at ranges from 30 to 225 (Dow Jones to Nikkei).

    I'm fairly new to VBA and am stuck at looping to get the rolling correlation figures. There's also a step to copy, paste special, transpose and skip blanks to symmetrically complete the matrix.

    Would be super appreciative of anyone who can give me some tips to do this. The spreadsheet attached has a small sample of hypothetical data and what I want to achieve.

    Cheers Jason
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I split daily time series data into seasonality grid by years
    By Oilking in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-20-2018, 04:40 AM
  2. Graph showing daily data for two different years
    By toexcel in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-24-2013, 02:13 PM
  3. [SOLVED] Excel 2007 : Monthly returns for numerous stocks past 15 years
    By vonborge in forum Excel General
    Replies: 8
    Last Post: 04-16-2011, 12:16 PM
  4. Replies: 2
    Last Post: 11-19-2010, 07:49 AM
  5. [SOLVED] How do I Fill a column with dates (for 3 years of daily data)
    By Apple_pi in forum Excel General
    Replies: 1
    Last Post: 02-18-2006, 04:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1