When you say optimize for taxes to me this sounds like sell the losing investments (bonds) and keep the profitable ones (stocks).
I would probably do the opposite. Sell some of the profitable ones (i.e. stocks) to raise cash, there is nothing wrong with taking profits off the table. Who knows, 6 months or a year from now, the market could go south and wipe out all those gains (better to give the government 25% of the profits then give 100% of the profits back to the market).
By cashing them them out now, you are locking in your profits. Just keep in mind to get enough cash out to pay the tax bill come Mar or April of next year.