This document proposes a new risk calculation and control system for a broker that provides algorithmic trading. The current risk scheme has drawbacks like slow limit updates, a lack of portfolio margin calculation, and high traffic between components. The proposed system would calculate risk in near real-time using cross-asset portfolio margining. It would leverage margin coefficients that do not depend on accounts and centralized free money calculations to determine symbol limits. This approach aims to provide fast risk updates and checks while supporting a large number of symbols and accounts and using orders data to calculate accurate portfolio margins.