TradingApplicationContext refactored.