trading P&L optimization