The Cross-Margin Risk Engine