Title: Modeling Maximum Trading Profits with C++