Experiences as a contractor in IT

Hello everyone, wanted to ask about opinions and personal experiences from people who happen to work in contracting jobs in IT in Switzerland, particularly software engineers, but may be as consultants also. I am just exploring possibilities, but feels like after 10 years in coding jobs i hit the ceiling (or the bottom) and would like to change something, the pay seems might more attractive than what you get at usual companies for doing pretty much the same. Do you find it more rewarding or more exhausting than a permanent position? my problem with coding jobs, that projects don’t change and i am stuck at the same dying codebase for years until switching a job (and talking to management doesn’t help), with contracting i hoped projects will be changing at least once a year…am i wrong? are the periods without a project can last more than 6 months? thanks for insights.