Trouble embedding an economic calendar script

Hey guys, am new to coding and bricks. I am trying to embed an economic calendar from Dukascopy onto a page using the ‘code’. Problem is, the calendar is not showing up. The code is:

<script type="text/javascript">DukascopyApplet = {"type":"economic_calendar_new","params":{"showHeader":true,"tableBorderColor":"#D92626","defaultTimezone":0,"defaultCountries":"r:Americas","impacts":[0,1,2],"dateTab":0,"dateFrom":1709424000000,"dateTo":1709942400000,"showColCountry":true,"showColCurrency":true,"showColImpact":true,"showColPrevious":true,"showColForecast":true,"width":"100%","height":"100%","adv":"popup","lang":"en"}};</script><script type="text/javascript" src="https://freeserv-static.dukascopy.com/2.0/core.js"></script>

Any ideas as to why it’s not working and what I can do?
Much appreciated.