CD Trading: Mathematical Analysis and Data-Driven Strategies for Market Success