music-and-ski
Recycles dryer sheets
I've always liked dollar-cost averaging during the accumulation phase of life, to automatically and mindlessly buy more units of when prices are down, and less units when prices are up. You know, the "buy low" part.
But I have yet to come across or devise a simple algorithm for selling equities to support a lifestyle in retirement. Obviously the worst answer would be to sell the same dollar-value each month, since then you'd be selling more units when prices are low, the opposite of "sell high".
Anyone know of any selling algorithms?
I'm thinking something along the lines of setting a limit order to sell at a price x% higher than the maximum price over the past year, and then burn through your cash while you wait for your limit order to come through. If the limit order doesn't come through and you start running out of cash, you'd might have to progressively lower your threshold to avoid selling in desperation, and maybe you'd also change the size of your order (I could see an argument to increasing the size of your sell order so that when it does come through you're replenishing your cash basket more, but I could see an argument to reducing the size of your order since you're selling at a cheaper price.)
When the stocks eventually rise to the point where you hit the limit and replenish your cash position, you'd then put in another stop limit order at a higher price, for the next replenishment.
Anyone know any strategy like this? I guess it's really a rebalancing timing strategy, to shift equity positions into cash (or fixed income products), to support regular withdrawals from the cash position.
I guess I could write an algorithm and try to optimize it over historic data by adjusting the few parameters. I do optimizing like this in my day job. I'd just need historic high/low/close data over 25ish years. Where can I download such data for free?
But I have yet to come across or devise a simple algorithm for selling equities to support a lifestyle in retirement. Obviously the worst answer would be to sell the same dollar-value each month, since then you'd be selling more units when prices are low, the opposite of "sell high".
Anyone know of any selling algorithms?
I'm thinking something along the lines of setting a limit order to sell at a price x% higher than the maximum price over the past year, and then burn through your cash while you wait for your limit order to come through. If the limit order doesn't come through and you start running out of cash, you'd might have to progressively lower your threshold to avoid selling in desperation, and maybe you'd also change the size of your order (I could see an argument to increasing the size of your sell order so that when it does come through you're replenishing your cash basket more, but I could see an argument to reducing the size of your order since you're selling at a cheaper price.)
When the stocks eventually rise to the point where you hit the limit and replenish your cash position, you'd then put in another stop limit order at a higher price, for the next replenishment.
Anyone know any strategy like this? I guess it's really a rebalancing timing strategy, to shift equity positions into cash (or fixed income products), to support regular withdrawals from the cash position.
I guess I could write an algorithm and try to optimize it over historic data by adjusting the few parameters. I do optimizing like this in my day job. I'd just need historic high/low/close data over 25ish years. Where can I download such data for free?