You can't guarantee that what you are asking.
The loss of principle is more basic than that. CDs guaranteed against default, are low risk, and have a stated rate of return given to you even if variable, there is a benchmark or band rate. Much like a bond, they must be left for maturity.
Here is the challenge: You have a CD locked to an interest rate. The market peforms better, so everyone actually earns more than you. On top of that inflation takes a piece of your pie. Inflation will kill any gains you have attempted, especially with low interest rates of CDs.
Money markets will give you a bit more of an edge, but not by much.
Best of luck.