Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

What is this type of risk-free investment called?
This sounds a lot like an Equity-indexed Annuity.  They date from about 1996 (there is a bit of skepticism about them, as they are tricky to understand for the typical investor).  For instance, an equity indexed annuity pays a portion of the gain in an index (like S&P 500) when the stock market rises, and guarantees you won't lose if it falls.  In an arbitrage sense, it is roughly equivalent to buying a mixture of bonds and index (call) options. There are a lot of complicated 'tweaks' on these, such as annual ratchet/annual reset, interest caps, etc. There is quite a bit of debate about whether they are too good to be true, so I'd read a few articles with pros and cons before buying one. These are also commonly called FIA (Fixed indexed annuities).