Factor-Based Risk Attribution & Mitigation Tool

Enter Your Portfolio Assets

Risk Attribution Analysis

Risk Factor Exposure ($) Contribution to Risk (%)

Risk Mitigation Suggestions

Risk Factor Suggested Mitigation Strategy

Summary & Report

The following table shows how different factors contribute to your portfolio\'s risk profile.

'; html += document.getElementById('results-table').outerHTML; html += '

Mitigation Suggestions

'; html += '

Based on your portfolio\'s risk concentration, here are some suggested mitigation strategies.

'; html += document.getElementById('mitigation-table').outerHTML; summaryContent.innerHTML = html; document.getElementById('tab4-button').disabled = false; openTab({currentTarget: document.getElementById('tab4-button')}, 'tab4'); } function downloadPDF() { const { jsPDF } = window.jspdf; const pdf = new jsPDF(); const content = document.getElementById('summary-content'); const toolTitle = "Factor-Based Risk Attribution & Mitigation Report"; html2canvas(content).then(canvas => { const imgData = canvas.toDataURL('image/png'); const imgProps= pdf.getImageProperties(imgData); const pdfWidth = pdf.internal.pageSize.getWidth(); const pdfHeight = (imgProps.height * pdfWidth) / imgProps.width; pdf.setFontSize(22); pdf.text(toolTitle, pdfWidth / 2, 20, { align: 'center' }); pdf.addImage(imgData, 'PNG', 10, 30, pdfWidth - 20, pdfHeight - 20); pdf.save('risk-attribution-report.pdf'); }); }
Scroll to Top