Dynamic Correlation between Bitcoin and S&P500

Hi there,

i am having trouble in python doing the DCC Garch Model to compare the volatility between Bitcoin and S&P 500. I have already separately done garch model on its own for both assets and now i’m stuck with implementing the DCC part at the end.

Hi Karim,

can you share more info?

Have you tried using the code on my github?

Where exactly do you get stuck?

Tino

Yes but i am having trouble to import my data because i need S&P500 on its own(Not list of companies ) and Bitcoin also .Im getting my data from yahoo finance (daily) But im struggling to re-write the code to suit it for my needs :).

Best of luck, that’s how you learn!