Read Next

Being Fascinated

For the past few days I've had a spring in my step. Why? Because I'm writing some tax-loss-harvesting and rebalancing software, of course.

Yesterday, as I was coding, I realized how monotonous the code I was writing was, but how much I was enjoying writing it. It was a strange combination. I don't always love coding, and the monotony does get to me at times.

I thought about why that was, and I realized it was because I had become fascinated with portfolio optimization. I was really curious about how it worked, how different strategies would affect results, and what would happen to my hypothetical portfolio once I made the changes.

On a smaller scale, I had become fascinated with how to program the algorithm. Do I sell over-proportioned positions first? Do I tax loss harvest first? If I don't have enough cash left to buy a share of the most under-proportioned stock do I hold the cash or buy the second most?

Rendering New Theme...