Optimal Trading Strategies: Quantitative Approaches for Managing Market Impact and Trading Risk