When selling or trading in your car, you get a credit for having 18" wheels. It's a simple checkmark and not an analysis of how cool or light those wheels are. I'd keep your 18s or ask for cash to cover the difference in value. The amount of cash you can get is a point of negotiation.
Unless you have specific performance needs for 17s, I wouldn't waste my time, nor drop the value of my car, to get them. By performance, I mean the desire to run a particular setup. Some tire size combinations are only available in 17s. The same is true for some competition tires. But even then, you probably won't want stock 17s if you're doing track work. You'd want 245/245 for autocrosses and 245/275 for DEs and TTs. That would mean 8.5/8.5 for the former, and 8.5/(9.5-10) for the latter. The factory 17s are 7/8.5. I had a set for autox and ended up running 225/245 b/c that's the best combination I could fit on them. They were Hoosiers so they were still great but the guys that had 245/275 Hoosiers gave me fits.
BTW, the 17s are noticably softer on the street. If your suspension is OEM, that's of questionable value. If you have aftermarket suspension, running soft tires on the street can be nice.