Quantitative Multi-Factor Model Creator
Define Model Factors and Their Weights
Total Weight: 0%
Input Data for Each Asset
Factor Values:
Added Assets
No assets added yet.
Quantitative Multi-Factor Model Results
No results to display. Please define factors, add assets, and then click "Calculate Model".
No results calculated or no assets to display.
'; return; } let tableHTML = `| Rank | Asset Name | `; displayFactors.forEach(f => tableHTML += `${escapeHtml(f.name)} (Raw) | `); displayFactors.forEach(f => tableHTML += `${escapeHtml(f.name)} (Wgt. Score) | `); tableHTML += `Composite Score |
|---|---|---|---|---|
| ${res.rank} | ${escapeHtml(res.name)} | `; displayFactors.forEach(f => { const rawVal = res.factorValues[f.id]; tableHTML += `${typeof rawVal === 'number' ? rawVal.toFixed(2) : rawVal} | `; }); displayFactors.forEach(f => tableHTML += `${res.weightedScores[f.id].toFixed(4)} | `); tableHTML += `${res.compositeScore.toFixed(4)} |